v0.8.23
Public Member Functions | List of all members
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator Struct Reference

default operator for TRI element More...

#include <src/finite_elements/FaceElementForcesAndSourcesCore.hpp>

Inheritance diagram for MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator:
[legend]
Collaboration diagram for MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator:
[legend]

Public Member Functions

double getArea ()
 get area of face More...
 
double getMeasure ()
 get measure of element More...
 
VectorDoublegetNormal ()
 get triangle normal More...
 
VectorDoublegetTangent1 ()
 get triangle tangent 1 More...
 
VectorDoublegetTangent2 ()
 get triangle tangent 2 More...
 
auto getFTensor1Normal ()
 get normal as tensor More...
 
auto getFTensor1Tangent1 ()
 get tangentOne as tensor More...
 
auto getFTensor2Tangent1 ()
 get tangentTwo as tensor More...
 
int getNumNodes ()
 get element number of nodes More...
 
const EntityHandlegetConn ()
 get element connectivity More...
 
VectorDoublegetCoords ()
 get triangle coordinates More...
 
auto getFTensor1Coords ()
 get get coords at gauss points More...
 
MatrixDoublegetCoordsAtGaussPts ()
 Gauss points and weight, matrix (nb. of points x 3) More...
 
auto getFTensor1CoordsAtGaussPts ()
 get coordinates at Gauss pts. More...
 
MatrixDoublegetHoCoordsAtGaussPts ()
 coordinate at Gauss points (if hierarchical approximation of element geometry) More...
 
auto getFTensor1HoCoordsAtGaussPts ()
 get coordinates at Gauss pts (takes in account ho approx. of geometry) More...
 
MatrixDoublegetNormalsAtGaussPts ()
 if higher order geometry return normals at Gauss pts. More...
 
DEPRECATED MatrixDoublegetNormalsAtGaussPt ()
 
ublas::matrix_row< MatrixDoublegetNormalsAtGaussPts (const int gg)
 if higher order geometry return normals at Gauss pts. More...
 
DEPRECATED ublas::matrix_row< MatrixDoublegetNormalsAtGaussPt (const int gg)
 
MatrixDoublegetTangent1AtGaussPts ()
 if higher order geometry return tangent vector to triangle at Gauss pts. More...
 
MatrixDoublegetTangent2AtGaussPts ()
 if higher order geometry return tangent vector to triangle at Gauss pts. More...
 
auto getFTensor1NormalsAtGaussPts ()
 get normal at integration points More...
 
auto getFTensor1Tangent1AtGaussPts ()
 get tangent 1 at integration points More...
 
auto getFTensor1Tangent2AtGaussPts ()
 get tangent 2 at integration points More...
 
const FaceElementForcesAndSourcesCoreBasegetFaceFE ()
 return pointer to Generic Triangle Finite Element object More...
 
DEPRECATED const FaceElementForcesAndSourcesCoreBasegetFaceElementForcesAndSourcesCore ()
 
MoFEMErrorCode loopSideVolumes (const string &fe_name, VolumeElementForcesAndSourcesCoreOnSide &method)
 
- Public Member Functions inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
 UserDataOperator (const FieldSpace space, const char type=OPLAST, const bool symm=true)
 
 UserDataOperator (const std::string &field_name, const char type, const bool symm=true)
 
 UserDataOperator (const std::string &row_field_name, const std::string &col_field_name, const char type, const bool symm=true)
 
virtual ~UserDataOperator ()
 
boost::shared_ptr< const NumeredEntFiniteElementgetNumeredEntFiniteElementPtr () const
 Return raw pointer to NumeredEntFiniteElement. More...
 
EntityHandle getFEEntityHandle () const
 Return finite element entity handle. More...
 
boost::weak_ptr< SideNumber > getSideNumberPtr (const int side_number, const EntityType type)
 Get the side number pointer. More...
 
EntityHandle getSideEntity (const int side_number, const EntityType type)
 Get the side entity. More...
 
int getNumberOfNodesOnElement ()
 Get the number of nodes on finite element. More...
 
MoFEMErrorCode getProblemRowIndices (const std::string filed_name, const EntityType type, const int side, VectorInt &indices) const
 Get row indices. More...
 
MoFEMErrorCode getProblemColIndices (const std::string filed_name, const EntityType type, const int side, VectorInt &indices) const
 Get col indices. More...
 
virtual MoFEMErrorCode setPtrFE (ForcesAndSourcesCore *ptr)
 
const FEMethodgetFEMethod () const
 Return raw pointer to Finite Element Method object. More...
 
int getOpType () const
 Get operator types. More...
 
void setOpType (const OpType type)
 Set operator type. More...
 
void addOpType (const OpType type)
 Add operator type. More...
 
int getNinTheLoop () const
 get number of finite element in the loop More...
 
int getLoopSize () const
 get size of elements in the loop More...
 
const std::string & getFEName () const
 Get name of the element. More...
 
Vec getSnesF () const
 
Vec getSnesX () const
 
Mat getSnesA () const
 
Mat getSnesB () const
 
Vec getTSu () const
 
Vec getTSu_t () const
 
Vec getTSf () const
 
Mat getTSA () const
 
Mat getTSB () const
 
int getTSstep () const
 
double getTStime () const
 
double getTSa () const
 
MatrixDoublegetGaussPts ()
 matrix of integration (Gauss) points for Volume Element More...
 
auto getFTensor0IntegrationWeight ()
 Get integration weights. More...
 
DEPRECATED MoFEMErrorCode getPorblemRowIndices (const std::string filed_name, const EntityType type, const int side, VectorInt &indices) const
 
DEPRECATED MoFEMErrorCode getPorblemColIndices (const std::string filed_name, const EntityType type, const int side, VectorInt &indices) const
 
- Public Member Functions inherited from MoFEM::DataOperator
 DataOperator (const bool symm=true, const bool do_vertices=true, const bool do_edges=true, const bool do_quads=true, const bool do_tris=true, const bool do_tets=true, const bool do_prisms=true)
 
virtual ~DataOperator ()
 
virtual MoFEMErrorCode doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, DataForcesAndSourcesCore::EntData &row_data, DataForcesAndSourcesCore::EntData &col_data)
 Operator for bi-linear form, usually to calculate values on left hand side. More...
 
virtual MoFEMErrorCode opLhs (DataForcesAndSourcesCore &row_data, DataForcesAndSourcesCore &col_data, bool symm=true)
 
virtual MoFEMErrorCode opLhs (DataForcesAndSourcesCore &row_data, DataForcesAndSourcesCore &col_data)
 
virtual MoFEMErrorCode doWork (int side, EntityType type, DataForcesAndSourcesCore::EntData &data)
 Operator for linear form, usually to calculate values on right hand side. More...
 
virtual MoFEMErrorCode opRhs (DataForcesAndSourcesCore &data, const bool do_vertices, const bool do_edges, const bool do_quads, const bool do_tris, const bool do_tets, const bool do_prisms, const bool error_if_no_base=true)
 
virtual MoFEMErrorCode opRhs (DataForcesAndSourcesCore &data, const bool error_if_no_base=true)
 
bool getSymm () const
 Get if operator uses symmetry of DOFs or not. More...
 
void setSymm ()
 set if operator is executed taking in account symmetry More...
 
void unSetSymm ()
 unset if operator is executed for non symmetric problem More...
 

Additional Inherited Members

- Public Types inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
enum  OpType { OPROW = 1 << 0, OPCOL = 1 << 1, OPROWCOL = 1 << 2, OPLAST = 1 << 3 }
 Controls loop over entities on element. More...
 
- Public Attributes inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
char opType
 
std::string rowFieldName
 
std::string colFieldName
 
FieldSpace sPace
 
- Public Attributes inherited from MoFEM::DataOperator
bool sYmm
 If true assume that matrix is symmetric structure. More...
 
bool doVertices
 If false skip vertices. More...
 
bool doEdges
 If false skip edges. More...
 
bool doQuads
 
bool doTris
 
bool doTets
 
bool doPrisms
 
- Protected Attributes inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
ForcesAndSourcesCoreptrFE
 

Detailed Description

default operator for TRI element

Examples
boundary_marker.cpp, hcurl_check_approx_in_2d.cpp, and hcurl_divergence_operator_2d.cpp.

Definition at line 44 of file FaceElementForcesAndSourcesCore.hpp.

Member Function Documentation

◆ getArea()

double MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getArea ( )

get area of face

Returns
area of face

Definition at line 52 of file FaceElementForcesAndSourcesCore.hpp.

52  {
53  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->aRea;
54  }

◆ getConn()

const EntityHandle* MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getConn ( )

get element connectivity

Definition at line 112 of file FaceElementForcesAndSourcesCore.hpp.

112  {
113  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->conn;
114  }

◆ getCoords()

VectorDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getCoords ( )

get triangle coordinates

Definition at line 118 of file FaceElementForcesAndSourcesCore.hpp.

118  {
119  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->coords;
120  }

◆ getCoordsAtGaussPts()

MatrixDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getCoordsAtGaussPts ( )

Gauss points and weight, matrix (nb. of points x 3)

Column 0-2 integration points coordinate x and y, respectively. At rows are integration points.

Examples
UnsaturatedFlow.hpp.

Definition at line 150 of file FaceElementForcesAndSourcesCore.hpp.

150  {
151  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
152  ->coordsAtGaussPts;
153  }

◆ getFaceElementForcesAndSourcesCore()

DEPRECATED const FaceElementForcesAndSourcesCoreBase* MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFaceElementForcesAndSourcesCore ( )
Deprecated:
Use getFaceFE

Definition at line 297 of file FaceElementForcesAndSourcesCore.hpp.

297  {
298  return getFaceFE();
299  }
const FaceElementForcesAndSourcesCoreBase * getFaceFE()
return pointer to Generic Triangle Finite Element object

◆ getFaceFE()

const FaceElementForcesAndSourcesCoreBase* MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFaceFE ( )

return pointer to Generic Triangle Finite Element object

Definition at line 289 of file FaceElementForcesAndSourcesCore.hpp.

289  {
290  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE);
291  }

◆ getFTensor1Coords()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1Coords ( )

get get coords at gauss points

auto t_coords = getFTensor1Coords();
t_center(i) = 0;
for(int nn = 0;nn!=3;nn++) {
t_center(i) += t_coords(i);
++t_coords;
}
t_center(i) /= 3;

Definition at line 138 of file FaceElementForcesAndSourcesCore.hpp.

138  {
139  double *ptr = &*getCoords().data().begin();
140  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
141  &ptr[2]);
142  }

◆ getFTensor1CoordsAtGaussPts()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1CoordsAtGaussPts ( )

get coordinates at Gauss pts.

Definition at line 157 of file FaceElementForcesAndSourcesCore.hpp.

157  {
158  double *ptr = &*getCoordsAtGaussPts().data().begin();
159  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
160  &ptr[2]);
161  }
MatrixDouble & getCoordsAtGaussPts()
Gauss points and weight, matrix (nb. of points x 3)

◆ getFTensor1HoCoordsAtGaussPts()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1HoCoordsAtGaussPts ( )

get coordinates at Gauss pts (takes in account ho approx. of geometry)

Definition at line 178 of file FaceElementForcesAndSourcesCore.hpp.

178  {
179  if (getHoCoordsAtGaussPts().size1() == 0 &&
180  getHoCoordsAtGaussPts().size2() != 3) {
181  return getFTensor1Coords();
182  }
183  double *ptr = &*getHoCoordsAtGaussPts().data().begin();
184  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
185  &ptr[2]);
186  }
MatrixDouble & getHoCoordsAtGaussPts()
coordinate at Gauss points (if hierarchical approximation of element geometry)

◆ getFTensor1Normal()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1Normal ( )

get normal as tensor

Definition at line 84 of file FaceElementForcesAndSourcesCore.hpp.

84  {
85  double *ptr = &*getNormal().data().begin();
86  return FTensor::Tensor1<double *, 3>(ptr, &ptr[1], &ptr[2]);
87  }

◆ getFTensor1NormalsAtGaussPts()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1NormalsAtGaussPts ( )

get normal at integration points

Example:

double nrm2;
auto t_normal = getFTensor1NormalsAtGaussPts();
for(int gg = gg!=data.getN().size1();gg++) {
nrm2 = sqrt(t_normal(i)*t_normal(i));
++t_normal;
}

Definition at line 263 of file FaceElementForcesAndSourcesCore.hpp.

263  {
264  double *ptr = &*getNormalsAtGaussPts().data().begin();
265  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
266  &ptr[2]);
267  }
MatrixDouble & getNormalsAtGaussPts()
if higher order geometry return normals at Gauss pts.

◆ getFTensor1Tangent1()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1Tangent1 ( )

get tangentOne as tensor

Definition at line 91 of file FaceElementForcesAndSourcesCore.hpp.

91  {
92  double *ptr = &*getTangent1().data().begin();
93  return FTensor::Tensor1<double *, 3>(ptr, &ptr[1], &ptr[2]);
94  }

◆ getFTensor1Tangent1AtGaussPts()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1Tangent1AtGaussPts ( )

get tangent 1 at integration points

Definition at line 272 of file FaceElementForcesAndSourcesCore.hpp.

272  {
273  double *ptr = &*getTangent1AtGaussPts().data().begin();
274  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
275  &ptr[2]);
276  }
MatrixDouble & getTangent1AtGaussPts()
if higher order geometry return tangent vector to triangle at Gauss pts.

◆ getFTensor1Tangent2AtGaussPts()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1Tangent2AtGaussPts ( )

get tangent 2 at integration points

Definition at line 281 of file FaceElementForcesAndSourcesCore.hpp.

281  {
282  double *ptr = &*getTangent2AtGaussPts().data().begin();
283  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
284  &ptr[2]);
285  }
MatrixDouble & getTangent2AtGaussPts()
if higher order geometry return tangent vector to triangle at Gauss pts.

◆ getFTensor2Tangent1()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor2Tangent1 ( )

get tangentTwo as tensor

Definition at line 98 of file FaceElementForcesAndSourcesCore.hpp.

98  {
99  double *ptr = &*getTangent2().data().begin();
100  return FTensor::Tensor1<double *, 3>(ptr, &ptr[1], &ptr[2]);
101  }

◆ getHoCoordsAtGaussPts()

MatrixDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getHoCoordsAtGaussPts ( )

coordinate at Gauss points (if hierarchical approximation of element geometry)

Note: returned matrix has size 0 in rows and columns if no HO approximation of geometry is available.

Examples
MagneticElement.hpp.

Definition at line 170 of file FaceElementForcesAndSourcesCore.hpp.

170  {
171  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
172  ->hoCoordsAtGaussPts;
173  }

◆ getMeasure()

double MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getMeasure ( )

get measure of element

Returns
area of face

Definition at line 60 of file FaceElementForcesAndSourcesCore.hpp.

◆ getNormal()

VectorDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNormal ( )

get triangle normal

Examples
UnsaturatedFlow.hpp.

Definition at line 64 of file FaceElementForcesAndSourcesCore.hpp.

64  {
65  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->nOrmal;
66  }

◆ getNormalsAtGaussPt() [1/2]

DEPRECATED MatrixDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNormalsAtGaussPt ( )
Deprecated:
Use getNormalsAtGaussPts

Definition at line 202 of file FaceElementForcesAndSourcesCore.hpp.

202  {
203  return getNormalsAtGaussPts();
204  }
MatrixDouble & getNormalsAtGaussPts()
if higher order geometry return normals at Gauss pts.

◆ getNormalsAtGaussPt() [2/2]

DEPRECATED ublas::matrix_row<MatrixDouble> MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNormalsAtGaussPt ( const int  gg)
Deprecated:
Cotrect name is getNormalsAtGaussPts

Definition at line 221 of file FaceElementForcesAndSourcesCore.hpp.

221  {
222  return getNormalsAtGaussPts(gg);
223  }
MatrixDouble & getNormalsAtGaussPts()
if higher order geometry return normals at Gauss pts.

◆ getNormalsAtGaussPts() [1/2]

MatrixDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNormalsAtGaussPts ( )

if higher order geometry return normals at Gauss pts.

Note: returned matrix has size 0 in rows and columns if no HO approximation of geometry is available.

Examples
MagneticElement.hpp.

Definition at line 194 of file FaceElementForcesAndSourcesCore.hpp.

194  {
195  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
196  ->normalsAtGaussPts;
197  }

◆ getNormalsAtGaussPts() [2/2]

ublas::matrix_row<MatrixDouble> MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNormalsAtGaussPts ( const int  gg)

if higher order geometry return normals at Gauss pts.

Parameters
gggauss point number

Definition at line 210 of file FaceElementForcesAndSourcesCore.hpp.

210  {
211  return ublas::matrix_row<MatrixDouble>(
212  static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
214  gg);
215  }

◆ getNumNodes()

int MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNumNodes ( )

get element number of nodes

Definition at line 105 of file FaceElementForcesAndSourcesCore.hpp.

105  {
106  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
107  ->num_nodes;
108  }

◆ getTangent1()

VectorDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent1 ( )

get triangle tangent 1

Definition at line 70 of file FaceElementForcesAndSourcesCore.hpp.

70  {
71  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
72  ->tangentOne;
73  }

◆ getTangent1AtGaussPts()

MatrixDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent1AtGaussPts ( )

if higher order geometry return tangent vector to triangle at Gauss pts.

Note: returned matrix has size 0 in rows and columns if no HO approximation of geometry is avaliable.

Definition at line 232 of file FaceElementForcesAndSourcesCore.hpp.

232  {
233  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
234  ->tangentOneAtGaussPts;
235  }

◆ getTangent2()

VectorDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent2 ( )

get triangle tangent 2

Definition at line 77 of file FaceElementForcesAndSourcesCore.hpp.

77  {
78  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
79  ->tangentTwo;
80  }

◆ getTangent2AtGaussPts()

MatrixDouble& MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent2AtGaussPts ( )

if higher order geometry return tangent vector to triangle at Gauss pts.

Note: returned matrix has size 0 in rows and columns if no HO approximation of geometry is avaliable.

Definition at line 244 of file FaceElementForcesAndSourcesCore.hpp.

244  {
245  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
246  ->tangentTwoAtGaussPts;
247  }

◆ loopSideVolumes()

MoFEMErrorCode MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::loopSideVolumes ( const string &  fe_name,
VolumeElementForcesAndSourcesCoreOnSide method 
)

User call this function to loop over elements on the side of face. This function calls MoFEM::VolumeElementForcesAndSourcesCoreOnSide with is operator to do calculations.

Parameters
fe_nameName of the element
methodFinite element object
Returns
error code

Definition at line 38 of file FaceElementForcesAndSourcesCore.cpp.

39  {
41 
42  const EntityHandle ent = getNumeredEntFiniteElementPtr()->getEnt();
43  const Problem *problem_ptr = getFEMethod()->problemPtr;
44  Range adjacent_volumes;
45  CHKERR getFaceFE()->mField.getInterface<BitRefManager>()->getAdjacenciesAny(
46  ent, 3, adjacent_volumes);
47  typedef NumeredEntFiniteElement_multiIndex::index<
48  Composite_Name_And_Ent_mi_tag>::type FEByComposite;
49  FEByComposite &numered_fe =
50  problem_ptr->numeredFiniteElements->get<Composite_Name_And_Ent_mi_tag>();
51 
52  method.feName = fe_name;
53 
54  CHKERR method.setSideFEPtr(getFaceFE());
55  CHKERR method.copyBasicMethod(*getFEMethod());
56  CHKERR method.copyKsp(*getFEMethod());
57  CHKERR method.copySnes(*getFEMethod());
58  CHKERR method.copyTs(*getFEMethod());
59 
60  CHKERR method.preProcess();
61 
62  int nn = 0;
63  method.loopSize = adjacent_volumes.size();
64  for (Range::iterator vit = adjacent_volumes.begin();
65  vit != adjacent_volumes.end(); vit++) {
66  FEByComposite::iterator miit =
67  numered_fe.find(boost::make_tuple(fe_name, *vit));
68  if (miit != numered_fe.end()) {
69  method.nInTheLoop = nn++;
70  method.numeredEntFiniteElementPtr = *miit;
71  method.dataFieldEntsPtr = (*miit)->sPtr->data_field_ents_view;
72  method.rowFieldEntsPtr = (*miit)->sPtr->row_field_ents_view;
73  method.colFieldEntsPtr = (*miit)->sPtr->col_field_ents_view;
74  method.dataPtr = (*miit)->sPtr->data_dofs;
75  method.rowPtr = (*miit)->rows_dofs;
76  method.colPtr = (*miit)->cols_dofs;
77  CHKERR method();
78  }
79  }
80 
81  CHKERR method.postProcess();
82 
84 }
boost::shared_ptr< const NumeredEntFiniteElement > getNumeredEntFiniteElementPtr() const
Return raw pointer to NumeredEntFiniteElement.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
const Problem * problemPtr
raw pointer to problem
const FEMethod * getFEMethod() const
Return raw pointer to Finite Element Method object.
MoFEMErrorCode getInterface(const MOFEMuuid &uuid, IFACE *&iface) const
Get interface by uuid and return reference to pointer of interface.
const FaceElementForcesAndSourcesCoreBase * getFaceFE()
return pointer to Generic Triangle Finite Element object
#define CHKERR
Inline error check.
Definition: definitions.h:596
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

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