Medusa  1.1
Coordinate Free Mehless Method implementation
mm::ImplicitVectorOperators< 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::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >

Class representing basic operators.

Definition at line 191 of file ImplicitVectorOperators_fwd.hpp.

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

Public Member Functions

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

ImplicitVectorOperatorsop
 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::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >::BasicOp ( ImplicitVectorOperators op,
int  node,
int  row,
typename op_family_t::operator_t  o 
)
inline

Construct given basic operator 'o'.

Definition at line 197 of file ImplicitVectorOperators_fwd.hpp.

Member Function Documentation

◆ eval() [1/2]

RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::eval
inlineinherited

Eval with alpha = 1.0.

Definition at line 149 of file ImplicitVectorOperators_fwd.hpp.

◆ eval() [2/2]

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

Evaluate this operator.

Definition at line 200 of file ImplicitVectorOperators_fwd.hpp.

◆ operator*()

RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::operator* ( scalar_t  alpha)
inlineinherited

Multiply this operation by a scalar.

Definition at line 153 of file ImplicitVectorOperators_fwd.hpp.

◆ operator+() [1/2]

RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::operator+ ( const VecOpBase< other_derived_t > &  right)
inlineinherited

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

Definition at line 160 of file ImplicitVectorOperators_fwd.hpp.

◆ operator+() [2/2]

RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::operator+ ( RowVecOp  right)
inlineinherited

Combine this operation with another row operation.

Definition at line 155 of file ImplicitVectorOperators_fwd.hpp.

◆ operator-()

RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::operator-
inlineinherited

Multiply this operation by -1.

Definition at line 157 of file ImplicitVectorOperators_fwd.hpp.

Member Data Documentation

◆ node

int mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::node
protectedinherited

Index of the point for which to apply the operation.

Definition at line 134 of file ImplicitVectorOperators_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::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::BasicOp< op_family_t >::o
private

Basic operator with precomputed shape functions.

Definition at line 194 of file ImplicitVectorOperators_fwd.hpp.

◆ op

ImplicitVectorOperators& mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::op
protectedinherited

Reference to underlying operators.

Definition at line 133 of file ImplicitVectorOperators_fwd.hpp.

◆ row

int mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< BasicOp< op_family_t > >::row
protectedinherited

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

Definition at line 135 of file ImplicitVectorOperators_fwd.hpp.


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