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

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

#include <ComputeFineScaleVelocity.hpp>

+ Collaboration diagram for ComputeFineScaleVelocity< 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

 ComputeFineScaleVelocity (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...
 
 ComputeFineScaleVelocity (const IntegrateVectorElement< MeshType, TestSpaceType, ExpressionType, QRAdapterType > &integrator)
 Copy constructor. More...
 
 ~ComputeFineScaleVelocity ()
 Destructor. More...
 

Operator

template<typename VectorType >
void operator>> (VectorType &vector)
 Operator wrapping the addTo method. More...
 

Methods

void check (std::ostream &out=std::cout)
 Ouput method. More...
 
template<typename VectorType >
void compute (VectorType &vec)
 Method that performs the assembly. More...
 

Private Methods

 ComputeFineScaleVelocity ()
 

Detailed Description

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

The class to actually perform the loop over the elements to compute the fine scale velocity 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 66 of file ComputeFineScaleVelocity.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 77 of file ComputeFineScaleVelocity.hpp.

Constructor & Destructor Documentation

◆ ComputeFineScaleVelocity() [1/3]

ComputeFineScaleVelocity ( 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 177 of file ComputeFineScaleVelocity.hpp.

◆ ComputeFineScaleVelocity() [2/3]

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

Copy constructor.

Definition at line 228 of file ComputeFineScaleVelocity.hpp.

◆ ~ComputeFineScaleVelocity()

Destructor.

Definition at line 273 of file ComputeFineScaleVelocity.hpp.

◆ ComputeFineScaleVelocity() [3/3]

Member Function Documentation

◆ operator>>()

void operator>> ( VectorType &  vector)
inline

Operator wrapping the addTo method.

Definition at line 106 of file ComputeFineScaleVelocity.hpp.

◆ check()

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

Ouput method.

Definition at line 288 of file ComputeFineScaleVelocity.hpp.

◆ compute()

void compute ( VectorType &  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 302 of file ComputeFineScaleVelocity.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 143 of file ComputeFineScaleVelocity.hpp.

◆ M_qrAdapter

QRAdapterType M_qrAdapter
private

Definition at line 146 of file ComputeFineScaleVelocity.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 149 of file ComputeFineScaleVelocity.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 152 of file ComputeFineScaleVelocity.hpp.

◆ M_globalCFE_std

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

Definition at line 154 of file ComputeFineScaleVelocity.hpp.

◆ M_globalCFE_adapted

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

Definition at line 155 of file ComputeFineScaleVelocity.hpp.

◆ M_testCFE_std

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

Definition at line 157 of file ComputeFineScaleVelocity.hpp.

◆ M_testCFE_adapted

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

Definition at line 158 of file ComputeFineScaleVelocity.hpp.

◆ M_elementalVector

ETVectorElemental M_elementalVector
private

Definition at line 160 of file ComputeFineScaleVelocity.hpp.

◆ M_offset

UInt M_offset
private

Definition at line 163 of file ComputeFineScaleVelocity.hpp.


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