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 202 of file ImplicitOperators_fwd.hpp.
Inheritance diagram for mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::GradOp:
Collaboration diagram for mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::GradOp:Public Member Functions | |
| GradOp (ImplicitOperators &op, int node, int row, vector_t vec) | |
| Construct directional derivative operator with given direction. More... | |
| RowOp | eval (scalar_t alpha) const |
| Evaluate this operator. More... | |
| RowOp | eval () const |
Eval with alpha = 1.0. More... | |
| RowOp | operator* (scalar_t alpha) |
| Multiply this operation by a scalar. More... | |
| RowOp | operator+ (RowOp right) |
| Combine this operation with another row operation. More... | |
| RowOp | operator+ (const OpBase< other_derived_t > &right) |
| Combine tho operation with another operation. Both operations are evaluated. More... | |
| RowOp | operator- () |
Multiply this operation by -1. More... | |
Public Attributes | |
| vector_t | vec |
| Vector representing the direction of differentiation. More... | |
Friends | |
| class | ImplicitOperators |
Protected Attributes | |
| ImplicitOperators & | 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... | |
|
inline |
Construct directional derivative operator with given direction.
Definition at line 207 of file ImplicitOperators_fwd.hpp.
|
inlineinherited |
Eval with alpha = 1.0.
Definition at line 137 of file ImplicitOperators_fwd.hpp.
|
inline |
Evaluate this operator.
Definition at line 211 of file ImplicitOperators_fwd.hpp.
|
inlineinherited |
Multiply this operation by a scalar.
Definition at line 141 of file ImplicitOperators_fwd.hpp.
|
inlineinherited |
Combine tho operation with another operation. Both operations are evaluated.
Definition at line 148 of file ImplicitOperators_fwd.hpp.
|
inlineinherited |
Combine this operation with another row operation.
Definition at line 143 of file ImplicitOperators_fwd.hpp.
|
inlineinherited |
Multiply this operation by -1.
Definition at line 145 of file ImplicitOperators_fwd.hpp.
|
protectedinherited |
Index of the point for which to apply the operation.
Definition at line 122 of file ImplicitOperators_fwd.hpp.
|
protectedinherited |
Reference to underlying operators.
Definition at line 121 of file ImplicitOperators_fwd.hpp.
|
protectedinherited |
Matrix row to which the operation should be applied (without offset).
Definition at line 123 of file ImplicitOperators_fwd.hpp.
| vector_t mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::GradOp::vec |
Vector representing the direction of differentiation.
Definition at line 204 of file ImplicitOperators_fwd.hpp.