42 |
} |
} |
43 |
|
|
44 |
/** |
/** |
45 |
|
* "Multiplies" the operator by a function |
46 |
|
* |
47 |
|
* @param u the given function |
48 |
|
* |
49 |
|
* @return the new operator |
50 |
|
*/ |
51 |
|
ReferenceCounting<VariationalBilinearOperator> |
52 |
|
operator * (ConstReferenceCounting<UserFunction> u) const |
53 |
|
{ |
54 |
|
VariationalAlphaUVOperator* newOperator = new VariationalAlphaUVOperator(*this); |
55 |
|
(*newOperator).__alpha = new MulUserFunction(__alpha, u); |
56 |
|
return newOperator; |
57 |
|
} |
58 |
|
|
59 |
|
/** |
60 |
* Constructor |
* Constructor |
61 |
* |
* |
62 |
* @param unknownNumber |
* @param unknownNumber |