64 |
} |
} |
65 |
|
|
66 |
/** |
/** |
67 |
|
* "Multiplies" the operator by a function |
68 |
|
* |
69 |
|
* @param u the given function |
70 |
|
* |
71 |
|
* @return the new operator |
72 |
|
*/ |
73 |
|
ReferenceCounting<VariationalLinearOperator> |
74 |
|
operator * (ConstReferenceCounting<UserFunction> u) const |
75 |
|
{ |
76 |
|
VariationalOperatorFgradGgradV* newOperator = new VariationalOperatorFgradGgradV(*this); |
77 |
|
(*newOperator).__f = new MulUserFunction(__f, u); |
78 |
|
return newOperator; |
79 |
|
} |
80 |
|
|
81 |
|
/** |
82 |
* Constructor |
* Constructor |
83 |
* |
* |
84 |
* @param testFunctionNumber |
* @param testFunctionNumber |