Medusa  1.1
Coordinate Free Mehless Method implementation
mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t > Class Template Reference

Detailed Description

template<class shape_storage_type, class matrix_type, class rhs_type>
template<typename op_family_t>
class mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >

Class representing Basic operators i.e. Der1, Der2, Lap or user defined custom operators.

Definition at line 176 of file ImplicitOperators_fwd.hpp.

+ Inheritance diagram for mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >:
+ Collaboration diagram for mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >:

Public Member Functions

 BasicOp (ImplicitOperators &op, int node, int row, typename op_family_t::operator_t o)
 Construct given basic operator 'o'. 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...
 

Friends

class ImplicitOperators
 

Protected Attributes

ImplicitOperatorsop
 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 Attributes

op_family_t::operator_t o
 Basic operator with precomputed shape functions. More...
 

Constructor & Destructor Documentation

◆ BasicOp()

template<class shape_storage_type , class matrix_type , class rhs_type >
template<typename op_family_t >
mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >::BasicOp ( ImplicitOperators op,
int  node,
int  row,
typename op_family_t::operator_t  o 
)
inline

Construct given basic operator 'o'.

Definition at line 182 of file ImplicitOperators_fwd.hpp.

Member Function Documentation

◆ eval() [1/2]

RowOp mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::eval
inlineinherited

Eval with alpha = 1.0.

Definition at line 137 of file ImplicitOperators_fwd.hpp.

◆ eval() [2/2]

template<class shape_storage_type , class matrix_type , class rhs_type >
template<typename op_family_t >
RowOp mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >::eval ( scalar_t  alpha) const
inline

Evaluate this operator.

Definition at line 185 of file ImplicitOperators_fwd.hpp.

◆ operator*()

RowOp mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::operator* ( scalar_t  alpha)
inlineinherited

Multiply this operation by a scalar.

Definition at line 141 of file ImplicitOperators_fwd.hpp.

◆ operator+() [1/2]

RowOp mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::operator+ ( const OpBase< other_derived_t > &  right)
inlineinherited

Combine tho operation with another operation. Both operations are evaluated.

Definition at line 148 of file ImplicitOperators_fwd.hpp.

◆ operator+() [2/2]

RowOp mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::operator+ ( RowOp  right)
inlineinherited

Combine this operation with another row operation.

Definition at line 143 of file ImplicitOperators_fwd.hpp.

◆ operator-()

RowOp mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::operator-
inlineinherited

Multiply this operation by -1.

Definition at line 145 of file ImplicitOperators_fwd.hpp.

Member Data Documentation

◆ node

int mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::node
protectedinherited

Index of the point for which to apply the operation.

Definition at line 122 of file ImplicitOperators_fwd.hpp.

◆ o

template<class shape_storage_type , class matrix_type , class rhs_type >
template<typename op_family_t >
op_family_t::operator_t mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >::o
private

Basic operator with precomputed shape functions.

Definition at line 179 of file ImplicitOperators_fwd.hpp.

◆ op

ImplicitOperators& mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::op
protectedinherited

Reference to underlying operators.

Definition at line 121 of file ImplicitOperators_fwd.hpp.

◆ row

int mm::ImplicitOperators< shape_storage_type, matrix_type, rhs_type >::OpBase< BasicOp< op_family_t > >::row
protectedinherited

Matrix row to which the operation should be applied (without offset).

Definition at line 123 of file ImplicitOperators_fwd.hpp.


The documentation for this class was generated from the following file: