59 |
} |
} |
60 |
|
|
61 |
/** |
/** |
62 |
|
* "Multiplies" the operator by a function |
63 |
|
* |
64 |
|
* @param u the given function |
65 |
|
* |
66 |
|
* @return the new operator |
67 |
|
*/ |
68 |
|
ReferenceCounting<VariationalLinearOperator> |
69 |
|
operator * (ConstReferenceCounting<UserFunction> u) const |
70 |
|
{ |
71 |
|
VariationalOperatorFdxGV* newOperator = new VariationalOperatorFdxGV(*this); |
72 |
|
(*newOperator).__f = new MulUserFunction(__f, u); |
73 |
|
return newOperator; |
74 |
|
} |
75 |
|
|
76 |
|
/** |
77 |
* Constructor |
* Constructor |
78 |
* |
* |
79 |
* @param testFunctionNumber the test function number |
* @param testFunctionNumber the test function number |