v0.14.0
Public Member Functions | Public Attributes | List of all members
MixTransport::MixTransportElement::OpSkeleton::OpVolSide Struct Reference

calculate values on adjacent tetrahedra to face More...

#include <users_modules/tutorials/cor-0to1/src/MixTransportElement.hpp>

Inheritance diagram for MixTransport::MixTransportElement::OpSkeleton::OpVolSide:
[legend]
Collaboration diagram for MixTransport::MixTransportElement::OpSkeleton::OpVolSide:
[legend]

Public Member Functions

 OpVolSide (map< int, VectorDouble > &val_map)
 
MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)
 

Public Attributes

map< int, VectorDouble > & valMap
 

Detailed Description

calculate values on adjacent tetrahedra to face

Definition at line 1483 of file MixTransportElement.hpp.

Constructor & Destructor Documentation

◆ OpVolSide()

MixTransport::MixTransportElement::OpSkeleton::OpVolSide::OpVolSide ( map< int, VectorDouble > &  val_map)
inline

Definition at line 1486 of file MixTransportElement.hpp.

Member Function Documentation

◆ doWork()

MoFEMErrorCode MixTransport::MixTransportElement::OpSkeleton::OpVolSide::doWork ( int  side,
EntityType  type,
EntitiesFieldData::EntData data 
)
inline

Definition at line 1490 of file MixTransportElement.hpp.

1491  {
1493  if (data.getFieldData().size() == 0)
1495  int nb_gauss_pts = data.getN().size1();
1496  valMap[getFaceSense()].resize(nb_gauss_pts);
1497  for (int gg = 0; gg < nb_gauss_pts; gg++) {
1498  valMap[getFaceSense()][gg] =
1499  inner_prod(trans(data.getN(gg)), data.getFieldData());
1500  }
1502  }

Member Data Documentation

◆ valMap

map<int, VectorDouble>& MixTransport::MixTransportElement::OpSkeleton::OpVolSide::valMap

Definition at line 1485 of file MixTransportElement.hpp.


The documentation for this struct was generated from the following file:
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
UserDataOperator
ForcesAndSourcesCore::UserDataOperator UserDataOperator
Definition: HookeElement.hpp:75
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
MixTransport::MixTransportElement::OpSkeleton::OpVolSide::valMap
map< int, VectorDouble > & valMap
Definition: MixTransportElement.hpp:1485
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
MoFEM::ForcesAndSourcesCore::UserDataOperator::OPROW
@ OPROW
operator doWork function is executed on FE rows
Definition: ForcesAndSourcesCore.hpp:567