v0.8.17
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/basic_finite_elements/mix_transport/src/MixTransportElement.hpp>

Inherits UserDataOperator.

Public Member Functions

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

Public Attributes

map< int, VectorDouble > & valMap
 

Detailed Description

calculate values on adjacent tetrahedra to face

Definition at line 1528 of file MixTransportElement.hpp.

Constructor & Destructor Documentation

◆ OpVolSide()

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

Definition at line 1531 of file MixTransportElement.hpp.

1533  "VALUES", UserDataOperator::OPROW),
1534  valMap(val_map) {}
ForcesAndSourcesCore::UserDataOperator UserDataOperator

Member Function Documentation

◆ doWork()

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

Definition at line 1535 of file MixTransportElement.hpp.

1536  {
1538  if (data.getFieldData().size() == 0)
1540  int nb_gauss_pts = data.getN().size1();
1541  valMap[getFaceSense()].resize(nb_gauss_pts);
1542  for (int gg = 0; gg < nb_gauss_pts; gg++) {
1543  valMap[getFaceSense()][gg] =
1544  inner_prod(trans(data.getN(gg)), data.getFieldData());
1545  }
1547  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:467
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return() ...
Definition: definitions.h:498
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:404

Member Data Documentation

◆ valMap

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

Definition at line 1530 of file MixTransportElement.hpp.


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