LifeV
ComputeFineScalePressure< 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 <ComputeFineScalePressure.hpp>

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

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

 ComputeFineScalePressure ()
 

Detailed Description

template<typename MeshType, typename TestSpaceType, typename ExpressionType, typename QRAdapterType>
class LifeV::ExpressionAssembly::ComputeFineScalePressure< 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 63 of file ComputeFineScalePressure.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 ComputeFineScalePressure.hpp.

Constructor & Destructor Documentation

◆ ComputeFineScalePressure() [1/3]

ComputeFineScalePressure ( 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 174 of file ComputeFineScalePressure.hpp.

◆ ComputeFineScalePressure() [2/3]

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

Copy constructor.

Definition at line 225 of file ComputeFineScalePressure.hpp.

◆ ~ComputeFineScalePressure()

Destructor.

Definition at line 270 of file ComputeFineScalePressure.hpp.

◆ ComputeFineScalePressure() [3/3]

Member Function Documentation

◆ operator>>()

void operator>> ( VectorType &  vector)
inline

Operator wrapping the addTo method.

Definition at line 103 of file ComputeFineScalePressure.hpp.

◆ check()

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

Ouput method.

Definition at line 285 of file ComputeFineScalePressure.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 299 of file ComputeFineScalePressure.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 140 of file ComputeFineScalePressure.hpp.

◆ M_qrAdapter

QRAdapterType M_qrAdapter
private

Definition at line 143 of file ComputeFineScalePressure.hpp.

◆ M_testSpace

std::shared_ptr<TestSpaceType> M_testSpace
private

Definition at line 146 of file ComputeFineScalePressure.hpp.

◆ M_evaluation

evaluation_Type M_evaluation
private

Definition at line 149 of file ComputeFineScalePressure.hpp.

◆ M_globalCFE_std

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

Definition at line 151 of file ComputeFineScalePressure.hpp.

◆ M_globalCFE_adapted

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

Definition at line 152 of file ComputeFineScalePressure.hpp.

◆ M_testCFE_std

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

Definition at line 154 of file ComputeFineScalePressure.hpp.

◆ M_testCFE_adapted

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

Definition at line 155 of file ComputeFineScalePressure.hpp.

◆ M_elementalVector

ETVectorElemental M_elementalVector
private

Definition at line 157 of file ComputeFineScalePressure.hpp.

◆ M_offset

UInt M_offset
private

Definition at line 160 of file ComputeFineScalePressure.hpp.


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