LifeV
EvaluateAtQuadraturePoint< MeshType, TestSpaceType, ExpressionType, QRAdapterType > Class Template Reference

The class to actually perform the loop over the elements to compute the stresses at the center of each element. More...

#include <EvaluateAtQuadraturePoint.hpp>

+ Collaboration diagram for EvaluateAtQuadraturePoint< MeshType, TestSpaceType, ExpressionType, QRAdapterType >:

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
QRAdapterType M_qrAdapter
 
std::shared_ptr< TestSpaceType > M_testSpace
 
evaluation_Type M_evaluation
 
ETCurrentFE< MeshType::S_geoDimensions, 1 > * M_globalCFE_std
 
ETCurrentFE< MeshType::S_geoDimensions, 1 > * M_globalCFE_adapted
 
ETCurrentFE< TestSpaceType::space_dim, TestSpaceType::field_dim > * M_testCFE_std
 
ETCurrentFE< TestSpaceType::space_dim, TestSpaceType::field_dim > * M_testCFE_adapted
 
ETVectorElemental M_elementalVector
 
UInt M_offset
 

Public Types

typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, 0, MeshType::S_geoDimensions >::evaluation_Type evaluation_Type
 Type of the Evaluation. More...
 

Constructors, destructor

 EvaluateAtQuadraturePoint (const std::shared_ptr< MeshType > &mesh, const QRAdapterType &qrAdapter, const std::shared_ptr< TestSpaceType > &testSpace, const ExpressionType &expression, const UInt offset=0)
 Full data constructor. More...
 
 EvaluateAtQuadraturePoint (const IntegrateVectorElement< MeshType, TestSpaceType, ExpressionType, QRAdapterType > &integrator)
 Copy constructor. More...
 
 ~EvaluateAtQuadraturePoint ()
 Destructor. More...
 

Operator

void operator>> (std::vector< std::vector< VectorSmall< TestSpaceType::field_dim >>> &vector)
 Operator wrapping the addTo method. More...
 

Methods

void check (std::ostream &out=std::cout)
 Ouput method. More...
 
void evaluate (std::vector< std::vector< VectorSmall< TestSpaceType::field_dim >>> &vec)
 Method that performs the assembly. More...
 

Private Methods

 EvaluateAtQuadraturePoint ()
 

Detailed Description

template<typename MeshType, typename TestSpaceType, typename ExpressionType, typename QRAdapterType>
class LifeV::ExpressionAssembly::EvaluateAtQuadraturePoint< MeshType, TestSpaceType, ExpressionType, QRAdapterType >

The class to actually perform the loop over the elements to compute the stresses at the center of each element.

Author
Davide Forti david.nosp@m.e.fo.nosp@m.rti@e.nosp@m.pfl..nosp@m.ch

Definition at line 63 of file EvaluateAtQuadraturePoint.hpp.

Member Typedef Documentation

◆ evaluation_Type

typedef ExpressionToEvaluation< ExpressionType, TestSpaceType::field_dim, 0, MeshType::S_geoDimensions >::evaluation_Type evaluation_Type

Type of the Evaluation.

Definition at line 74 of file EvaluateAtQuadraturePoint.hpp.

Constructor & Destructor Documentation

◆ EvaluateAtQuadraturePoint() [1/3]

EvaluateAtQuadraturePoint ( const std::shared_ptr< MeshType > &  mesh,
const QRAdapterType &  qrAdapter,
const std::shared_ptr< TestSpaceType > &  testSpace,
const ExpressionType &  expression,
const UInt  offset = 0 
)

Full data constructor.

Definition at line 172 of file EvaluateAtQuadraturePoint.hpp.

+ Here is the caller graph for this function:

◆ EvaluateAtQuadraturePoint() [2/3]

EvaluateAtQuadraturePoint ( const IntegrateVectorElement< MeshType, TestSpaceType, ExpressionType, QRAdapterType > &  integrator)

Copy constructor.

Definition at line 223 of file EvaluateAtQuadraturePoint.hpp.

+ Here is the caller graph for this function:

◆ ~EvaluateAtQuadraturePoint()

Destructor.

Definition at line 268 of file EvaluateAtQuadraturePoint.hpp.

◆ EvaluateAtQuadraturePoint() [3/3]

Member Function Documentation

◆ operator>>()

void operator>> ( std::vector< std::vector< VectorSmall< TestSpaceType::field_dim >>> &  vector)
inline

Operator wrapping the addTo method.

Definition at line 102 of file EvaluateAtQuadraturePoint.hpp.

◆ check()

void check ( std::ostream &  out = std::cout)

Ouput method.

Definition at line 283 of file EvaluateAtQuadraturePoint.hpp.

+ Here is the caller graph for this function:

◆ evaluate()

void evaluate ( std::vector< std::vector< VectorSmall< TestSpaceType::field_dim >>> &  vec)

Method that performs the assembly.

The loop over the elements is located right in this method. Everything for the assembly is then performed: update the values, update the local vector, sum over the quadrature nodes, assemble in the global vector.

Definition at line 296 of file EvaluateAtQuadraturePoint.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 138 of file EvaluateAtQuadraturePoint.hpp.

◆ M_qrAdapter

QRAdapterType M_qrAdapter
private

Definition at line 141 of file EvaluateAtQuadraturePoint.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 144 of file EvaluateAtQuadraturePoint.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 147 of file EvaluateAtQuadraturePoint.hpp.

◆ M_globalCFE_std

ETCurrentFE<MeshType::S_geoDimensions, 1>* M_globalCFE_std
private

Definition at line 149 of file EvaluateAtQuadraturePoint.hpp.

◆ M_globalCFE_adapted

ETCurrentFE<MeshType::S_geoDimensions, 1>* M_globalCFE_adapted
private

Definition at line 150 of file EvaluateAtQuadraturePoint.hpp.

◆ M_testCFE_std

ETCurrentFE<TestSpaceType::space_dim, TestSpaceType::field_dim>* M_testCFE_std
private

Definition at line 152 of file EvaluateAtQuadraturePoint.hpp.

◆ M_testCFE_adapted

ETCurrentFE<TestSpaceType::space_dim, TestSpaceType::field_dim>* M_testCFE_adapted
private

Definition at line 153 of file EvaluateAtQuadraturePoint.hpp.

◆ M_elementalVector

ETVectorElemental M_elementalVector
private

Definition at line 155 of file EvaluateAtQuadraturePoint.hpp.

◆ M_offset

UInt M_offset
private

Definition at line 158 of file EvaluateAtQuadraturePoint.hpp.


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