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