98 |
; |
; |
99 |
} |
} |
100 |
|
|
101 |
|
/** |
102 |
|
* "Multiplies" the operator by a function |
103 |
|
* |
104 |
|
* @param u the given function |
105 |
|
* |
106 |
|
* @return the new operator |
107 |
|
*/ |
108 |
|
ReferenceCounting<VariationalBilinearOperator> |
109 |
|
operator * (ConstReferenceCounting<UserFunction> u) const |
110 |
|
{ |
111 |
|
VariationalAlphaDxUDxVOperator* newOperator = new VariationalAlphaDxUDxVOperator(*this); |
112 |
|
(*newOperator).__alpha = new MulUserFunction(__alpha, u); |
113 |
|
return newOperator; |
114 |
|
} |
115 |
|
|
116 |
/** |
/** |
117 |
* Copy Constructor |
* Copy Constructor |