52 |
} |
} |
53 |
|
|
54 |
/** |
/** |
55 |
|
* "Multiplies" the operator by a function |
56 |
|
* |
57 |
|
* @param u the given function |
58 |
|
* |
59 |
|
* @return the new operator |
60 |
|
*/ |
61 |
|
ReferenceCounting<VariationalLinearOperator> |
62 |
|
operator * (ConstReferenceCounting<UserFunction> u) const |
63 |
|
{ |
64 |
|
VariationalOperatorFV* newOperator = new VariationalOperatorFV(*this); |
65 |
|
(*newOperator).__f = new MulUserFunction(__f, u); |
66 |
|
return newOperator; |
67 |
|
} |
68 |
|
|
69 |
|
/** |
70 |
* Constructor |
* Constructor |
71 |
* |
* |
72 |
* @param testFunctionNumber |
* @param testFunctionNumber |