74 |
return *__mu; |
return *__mu; |
75 |
} |
} |
76 |
|
|
77 |
|
ReferenceCounting<PDEOperator> operator * (ConstReferenceCounting<UserFunction> u) const |
78 |
|
{ |
79 |
|
ReferenceCounting<UserFunction> newMu = new MulUserFunction(__mu,u); |
80 |
|
return (new DivMuGrad(newMu)); |
81 |
|
} |
82 |
|
|
83 |
//! Returns a pointer on the opposed DivMuGrad operator. |
//! Returns a pointer on the opposed DivMuGrad operator. |
84 |
ReferenceCounting<PDEOperator> operator - () const { |
ReferenceCounting<PDEOperator> operator - () const |
85 |
|
{ |
86 |
ReferenceCounting<UserFunction> newMu = new UnaryMinusUserFunction(__mu); |
ReferenceCounting<UserFunction> newMu = new UnaryMinusUserFunction(__mu); |
87 |
return (new DivMuGrad(newMu)); |
return (new DivMuGrad(newMu)); |
88 |
} |
} |