Medusa  1.1
Coordinate Free Mehless Method implementation
mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::TractionOp Class Reference

Detailed Description

template<class shape_storage_type, class matrix_type, class rhs_type>
class mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::TractionOp

Class representing the traction operator. Useful for setting boundary conditions.

Definition at line 266 of file ImplicitVectorOperators_fwd.hpp.

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

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

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 Member Functions

 TractionOp (ImplicitVectorOperators &op, int node, int row, scalar_t lam, scalar_t mu, const domain_vector_t &normal)
 Create traction operator with given Lame constants and outside unit normal. More...
 

Private Attributes

scalar_t lam
 1st Lame constant. More...
 
scalar_t mu
 2nd Lame constant. More...
 
domain_vector_t normal
 Unit normal to the surface where traction os desired. More...
 

Constructor & Destructor Documentation

◆ TractionOp()

template<class shape_storage_type , class matrix_type , class rhs_type >
mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::TractionOp::TractionOp ( ImplicitVectorOperators op,
int  node,
int  row,
scalar_t  lam,
scalar_t  mu,
const domain_vector_t normal 
)
inlineprivate

Create traction operator with given Lame constants and outside unit normal.

Definition at line 274 of file ImplicitVectorOperators_fwd.hpp.

Member Function Documentation

◆ eval() [1/2]

RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< TractionOp >::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 >
RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::TractionOp::eval ( scalar_t  alpha) const
inline

Evaluate this operator.

Definition at line 279 of file ImplicitVectorOperators_fwd.hpp.

◆ operator*()

RowVecOp mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< TractionOp >::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< TractionOp >::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< TractionOp >::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< TractionOp >::operator-
inlineinherited

Multiply this operation by -1.

Definition at line 157 of file ImplicitVectorOperators_fwd.hpp.

Member Data Documentation

◆ lam

template<class shape_storage_type , class matrix_type , class rhs_type >
scalar_t mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::TractionOp::lam
private

1st Lame constant.

Definition at line 269 of file ImplicitVectorOperators_fwd.hpp.

◆ mu

template<class shape_storage_type , class matrix_type , class rhs_type >
scalar_t mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::TractionOp::mu
private

2nd Lame constant.

Definition at line 270 of file ImplicitVectorOperators_fwd.hpp.

◆ node

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

Index of the point for which to apply the operation.

Definition at line 134 of file ImplicitVectorOperators_fwd.hpp.

◆ normal

template<class shape_storage_type , class matrix_type , class rhs_type >
domain_vector_t mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::TractionOp::normal
private

Unit normal to the surface where traction os desired.

Definition at line 271 of file ImplicitVectorOperators_fwd.hpp.

◆ op

ImplicitVectorOperators& mm::ImplicitVectorOperators< shape_storage_type, matrix_type, rhs_type >::VecOpBase< TractionOp >::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< TractionOp >::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: