Class representing the directional derivative (gradient) operation.
If vec is denoted by \(\vec v\), then this class represents \((\vec v \cdot \nabla)\) operator evaluated at node with index node.
Definition at line 217 of file ImplicitVectorOperators_fwd.hpp.
Public Member Functions | |
RowVecOp | eval (scalar_t alpha) const |
Evaluate this operator. More... | |
RowVecOp | eval () const |
Eval with alpha = 1.0 . More... | |
RowVecOp | operator* (scalar_t alpha) |
Multiply this operation by a scalar. More... | |
RowVecOp | operator+ (RowVecOp right) |
Combine this operation with another row operation. More... | |
RowVecOp | operator+ (const VecOpBase< other_derived_t > &right) |
Combine tho operation with another operation. Both operations are evaluated. More... | |
RowVecOp | operator- () |
Multiply this operation by -1 . More... | |
Friends | |
class | ImplicitVectorOperators |
Protected Attributes | |
ImplicitVectorOperators & | op |
Reference to underlying operators. More... | |
int | node |
Index of the point for which to apply the operation. More... | |
int | row |
Matrix row to which the operation should be applied (without offset). More... | |
Private Member Functions | |
GradOp (ImplicitVectorOperators &op, int node, int row, const domain_vector_t &vec) | |
Construct directional derivative operator with given direction. More... | |
Private Attributes | |
domain_vector_t | vec |
Vector representing the direction of differentiation. More... | |
|
inlineprivate |
Construct directional derivative operator with given direction.
Definition at line 222 of file ImplicitVectorOperators_fwd.hpp.
|
inlineinherited |
Eval with alpha = 1.0
.
Definition at line 149 of file ImplicitVectorOperators_fwd.hpp.
|
inline |
Evaluate this operator.
Definition at line 226 of file ImplicitVectorOperators_fwd.hpp.
|
inlineinherited |
Multiply this operation by a scalar.
Definition at line 153 of file ImplicitVectorOperators_fwd.hpp.
|
inlineinherited |
Combine tho operation with another operation. Both operations are evaluated.
Definition at line 160 of file ImplicitVectorOperators_fwd.hpp.
|
inlineinherited |
Combine this operation with another row operation.
Definition at line 155 of file ImplicitVectorOperators_fwd.hpp.
|
inlineinherited |
Multiply this operation by -1
.
Definition at line 157 of file ImplicitVectorOperators_fwd.hpp.
|
protectedinherited |
Index of the point for which to apply the operation.
Definition at line 134 of file ImplicitVectorOperators_fwd.hpp.
|
protectedinherited |
Reference to underlying operators.
Definition at line 133 of file ImplicitVectorOperators_fwd.hpp.
|
protectedinherited |
Matrix row to which the operation should be applied (without offset).
Definition at line 135 of file ImplicitVectorOperators_fwd.hpp.
|
private |
Vector representing the direction of differentiation.
Definition at line 220 of file ImplicitVectorOperators_fwd.hpp.