v0.10.0
Public Member Functions | Private 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 getFTensor1Tangent2 ()
 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 ()
 
template<int SWITCH>
MoFEMErrorCode loopSideVolumes (const string &fe_name, VolumeElementForcesAndSourcesCoreOnSideSwitch< SWITCH > &fe_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)
 
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...
 
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...
 
const PetscData::SwitchesgetDataCtx () const
 
const KspMethod::KSPContext getKSPCtx () const
 
const SnesMethod::SNESContext getSNESCtx () const
 
const TSMethod::TSContext getTSCtx () const
 
Vec getKSPf () const
 
Mat getKSPA () const
 
Mat getKSPB () const
 
Vec getSNESf () const
 
Vec getSNESx () const
 
Mat getSNESA () const
 
Mat getSNESB () const
 
DEPRECATED Vec getSnesF () const
 
DEPRECATED Vec getSnesX () const
 
DEPRECATED Mat getSnesA () const
 
DEPRECATED Mat getSnesB () const
 
Vec getTSu () const
 
Vec getTSu_t () const
 
Vec getTSu_tt () const
 
Vec getTSf () const
 
Mat getTSA () const
 
Mat getTSB () const
 
int getTSstep () const
 
double getTStime () const
 
double getTSa () const
 
double getTSaa () 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
 
- Public Member Functions inherited from MoFEM::DataOperator
 DataOperator (const bool symm=true)
 
virtual ~DataOperator ()=default
 
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)
 
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 error_if_no_base=false)
 
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...
 

Private Member Functions

MoFEMErrorCode setPtrFE (ForcesAndSourcesCore *ptr)
 

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...
 
std::array< bool, MBMAXTYPE > doEntities
 If true operator is executed for entity. More...
 
booldoVertices
 \deprectaed If false skip vertices More...
 
booldoEdges
 \deprectaed If false skip edges More...
 
booldoQuads
 \deprectaed More...
 
booldoTris
 \deprectaed More...
 
booldoTets
 \deprectaed More...
 
booldoPrisms
 \deprectaed More...
 
- Protected Member Functions inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
ForcesAndSourcesCoregetPtrFE () const
 
ForcesAndSourcesCoregetSidePtrFE () const
 
- Protected Attributes inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
ForcesAndSourcesCoreptrFE
 

Detailed Description

default operator for TRI element

Examples
boundary_marker.cpp, contact.cpp, hcurl_check_approx_in_2d.cpp, hcurl_divergence_operator_2d.cpp, heat_equation.hpp, MagneticElement.hpp, quad_polynomial_approximation.cpp, reaction_diffusion.cpp, scalar_check_approximation_2d.cpp, UnsaturatedFlow.hpp, and wave_equation.hpp.

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 415 of file FaceElementForcesAndSourcesCore.hpp.

415  {
416  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->aRea;
417 }

◆ getConn()

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

get element connectivity

Definition at line 461 of file FaceElementForcesAndSourcesCore.hpp.

461  {
462  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->conn;
463 }

◆ getCoords()

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

get triangle coordinates

Definition at line 466 of file FaceElementForcesAndSourcesCore.hpp.

466  {
467  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->coords;
468 }

◆ 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.

Definition at line 478 of file FaceElementForcesAndSourcesCore.hpp.

478  {
479  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
481 }

◆ getFaceElementForcesAndSourcesCore()

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

Definition at line 571 of file FaceElementForcesAndSourcesCore.hpp.

572  {
573  return getFaceFE();
574 }

◆ getFaceFE()

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

return pointer to Generic Triangle Finite Element object

Definition at line 567 of file FaceElementForcesAndSourcesCore.hpp.

567  {
568  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE);
569 }

◆ 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 470 of file FaceElementForcesAndSourcesCore.hpp.

471  {
472  double *ptr = &*getCoords().data().begin();
473  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
474  &ptr[2]);
475 }

◆ getFTensor1CoordsAtGaussPts()

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

get coordinates at Gauss pts.

Examples
heat_equation.hpp, quad_polynomial_approximation.cpp, and wave_equation.hpp.

Definition at line 483 of file FaceElementForcesAndSourcesCore.hpp.

484  {
485  double *ptr = &*getCoordsAtGaussPts().data().begin();
486  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
487  &ptr[2]);
488 }

◆ getFTensor1HoCoordsAtGaussPts()

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

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

Definition at line 496 of file FaceElementForcesAndSourcesCore.hpp.

497  {
498  if (getHoCoordsAtGaussPts().size1() == 0 &&
499  getHoCoordsAtGaussPts().size2() != 3) {
500  return getFTensor1Coords();
501  }
502  double *ptr = &*getHoCoordsAtGaussPts().data().begin();
503  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
504  &ptr[2]);
505 }

◆ getFTensor1Normal()

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

get normal as tensor

Definition at line 438 of file FaceElementForcesAndSourcesCore.hpp.

439  {
440  double *ptr = &*getNormal().data().begin();
441  return FTensor::Tensor1<double *, 3>(ptr, &ptr[1], &ptr[2]);
442 }

◆ 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 545 of file FaceElementForcesAndSourcesCore.hpp.

546  {
547  double *ptr = &*getNormalsAtGaussPts().data().begin();
548  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
549  &ptr[2]);
550 }

◆ getFTensor1Tangent1()

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

get tangentOne as tensor

Definition at line 444 of file FaceElementForcesAndSourcesCore.hpp.

445  {
446  double *ptr = &*getTangent1().data().begin();
447  return FTensor::Tensor1<double *, 3>(ptr, &ptr[1], &ptr[2]);
448 }

◆ getFTensor1Tangent1AtGaussPts()

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

get tangent 1 at integration points

Definition at line 552 of file FaceElementForcesAndSourcesCore.hpp.

553  {
554  double *ptr = &*getTangent1AtGaussPts().data().begin();
555  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
556  &ptr[2]);
557 }

◆ getFTensor1Tangent2()

auto MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1Tangent2 ( )

get tangentTwo as tensor

Definition at line 450 of file FaceElementForcesAndSourcesCore.hpp.

451  {
452  double *ptr = &*getTangent2().data().begin();
453  return FTensor::Tensor1<double *, 3>(ptr, &ptr[1], &ptr[2]);
454 }

◆ getFTensor1Tangent2AtGaussPts()

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

get tangent 2 at integration points

Definition at line 559 of file FaceElementForcesAndSourcesCore.hpp.

560  {
561  double *ptr = &*getTangent2AtGaussPts().data().begin();
562  return FTensor::Tensor1<FTensor::PackPtr<double *, 3>, 3>(ptr, &ptr[1],
563  &ptr[2]);
564 }

◆ 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.

Definition at line 491 of file FaceElementForcesAndSourcesCore.hpp.

491  {
492  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
494 }

◆ getMeasure()

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

get measure of element

Returns
area of face
Examples
heat_equation.hpp, quad_polynomial_approximation.cpp, and wave_equation.hpp.

Definition at line 419 of file FaceElementForcesAndSourcesCore.hpp.

419  {
420  return getArea();
421 }

◆ getNormal()

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

get triangle normal

Definition at line 424 of file FaceElementForcesAndSourcesCore.hpp.

424  {
425  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->nOrmal;
426 }

◆ getNormalsAtGaussPt() [1/2]

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

Definition at line 514 of file FaceElementForcesAndSourcesCore.hpp.

514  {
515  return getNormalsAtGaussPts();
516 }

◆ getNormalsAtGaussPt() [2/2]

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

Definition at line 528 of file FaceElementForcesAndSourcesCore.hpp.

529  {
530  return getNormalsAtGaussPts(gg);
531 }

◆ 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.

Definition at line 508 of file FaceElementForcesAndSourcesCore.hpp.

508  {
509  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
511 }

◆ 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 519 of file FaceElementForcesAndSourcesCore.hpp.

520  {
521  return ublas::matrix_row<MatrixDouble>(
524  gg);
525 }

◆ getNumNodes()

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

get element number of nodes

Definition at line 456 of file FaceElementForcesAndSourcesCore.hpp.

456  {
457  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->num_nodes;
458 }

◆ getTangent1()

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

get triangle tangent 1

Definition at line 429 of file FaceElementForcesAndSourcesCore.hpp.

429  {
430  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->tangentOne;
431 }

◆ 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 534 of file FaceElementForcesAndSourcesCore.hpp.

534  {
535  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
537 }

◆ getTangent2()

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

get triangle tangent 2

Definition at line 434 of file FaceElementForcesAndSourcesCore.hpp.

434  {
435  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)->tangentTwo;
436 }

◆ 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 540 of file FaceElementForcesAndSourcesCore.hpp.

540  {
541  return static_cast<FaceElementForcesAndSourcesCoreBase *>(ptrFE)
543 }

◆ loopSideVolumes()

template<int SWITCH>
MoFEMErrorCode MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::loopSideVolumes ( const string &  fe_name,
VolumeElementForcesAndSourcesCoreOnSideSwitch< SWITCH > &  fe_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 578 of file FaceElementForcesAndSourcesCore.hpp.

580  {
581  return loopSide(fe_name, &fe_method, 3);
582 }

◆ setPtrFE()

MoFEMErrorCode MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::setPtrFE ( ForcesAndSourcesCore ptr)
privatevirtual

Reimplemented from MoFEM::ForcesAndSourcesCore::UserDataOperator.

Reimplemented in MoFEM::FaceElementForcesAndSourcesCoreOnSideBase::UserDataOperator.

Definition at line 402 of file FaceElementForcesAndSourcesCore.cpp.

403  {
405  if (!(ptrFE = dynamic_cast<FaceElementForcesAndSourcesCoreBase *>(ptr)))
406  SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
407  "User operator and finite element do not work together");
409 }

The documentation for this struct was generated from the following files:
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFaceFE
const FaceElementForcesAndSourcesCoreBase * getFaceFE()
return pointer to Generic Triangle Finite Element object
Definition: FaceElementForcesAndSourcesCore.hpp:567
MoFEM::FaceElementForcesAndSourcesCoreBase::coords
VectorDouble coords
Definition: FaceElementForcesAndSourcesCore.hpp:300
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getCoordsAtGaussPts
MatrixDouble & getCoordsAtGaussPts()
Gauss points and weight, matrix (nb. of points x 3)
Definition: FaceElementForcesAndSourcesCore.hpp:478
MoFEM::FaceElementForcesAndSourcesCoreBase::num_nodes
int num_nodes
Definition: FaceElementForcesAndSourcesCore.hpp:297
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent2
VectorDouble & getTangent2()
get triangle tangent 2
Definition: FaceElementForcesAndSourcesCore.hpp:434
MoFEM::ForcesAndSourcesCore::UserDataOperator::FaceElementForcesAndSourcesCoreBase
friend class FaceElementForcesAndSourcesCoreBase
Definition: ForcesAndSourcesCore.hpp:416
MoFEM::FaceElementForcesAndSourcesCoreBase::nOrmal
VectorDouble nOrmal
Definition: FaceElementForcesAndSourcesCore.hpp:299
FTensor::Tensor1< double, 3 >
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent2AtGaussPts
MatrixDouble & getTangent2AtGaussPts()
if higher order geometry return tangent vector to triangle at Gauss pts.
Definition: FaceElementForcesAndSourcesCore.hpp:540
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getHoCoordsAtGaussPts
MatrixDouble & getHoCoordsAtGaussPts()
coordinate at Gauss points (if hierarchical approximation of element geometry)
Definition: FaceElementForcesAndSourcesCore.hpp:491
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getArea
double getArea()
get area of face
Definition: FaceElementForcesAndSourcesCore.hpp:415
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent1AtGaussPts
MatrixDouble & getTangent1AtGaussPts()
if higher order geometry return tangent vector to triangle at Gauss pts.
Definition: FaceElementForcesAndSourcesCore.hpp:534
MoFEM::FaceElementForcesAndSourcesCoreBase::normalsAtGaussPts
MatrixDouble normalsAtGaussPts
Definition: FaceElementForcesAndSourcesCore.hpp:304
MoFEM::FaceElementForcesAndSourcesCoreBase::aRea
double aRea
Definition: FaceElementForcesAndSourcesCore.hpp:296
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1NormalsAtGaussPts
auto getFTensor1NormalsAtGaussPts()
get normal at integration points
Definition: FaceElementForcesAndSourcesCore.hpp:546
MoFEM::FaceElementForcesAndSourcesCoreBase::tangentTwoAtGaussPts
MatrixDouble tangentTwoAtGaussPts
Definition: FaceElementForcesAndSourcesCore.hpp:306
MoFEM::FaceElementForcesAndSourcesCoreBase::conn
const EntityHandle * conn
Definition: FaceElementForcesAndSourcesCore.hpp:298
FTensor::Index< 'i', 3 >
MoFEM::FaceElementForcesAndSourcesCoreBase::tangentOneAtGaussPts
MatrixDouble tangentOneAtGaussPts
Definition: FaceElementForcesAndSourcesCore.hpp:305
MoFEM::FaceElementForcesAndSourcesCoreBase::coordsAtGaussPts
MatrixDouble coordsAtGaussPts
Definition: FaceElementForcesAndSourcesCore.hpp:301
MoFEM::FaceElementForcesAndSourcesCoreBase::hoCoordsAtGaussPts
MatrixDouble hoCoordsAtGaussPts
Definition: FaceElementForcesAndSourcesCore.hpp:303
MoFEM::FaceElementForcesAndSourcesCoreBase::tangentOne
VectorDouble tangentOne
Definition: FaceElementForcesAndSourcesCore.hpp:299
MOFEM_DATA_INCONSISTENCY
@ MOFEM_DATA_INCONSISTENCY
Definition: definitions.h:123
MoFEM::FaceElementForcesAndSourcesCoreBase::tangentTwo
VectorDouble tangentTwo
Definition: FaceElementForcesAndSourcesCore.hpp:299
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNormalsAtGaussPts
MatrixDouble & getNormalsAtGaussPts()
if higher order geometry return normals at Gauss pts.
Definition: FaceElementForcesAndSourcesCore.hpp:508
MoFEMFunctionBeginHot
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getFTensor1Coords
auto getFTensor1Coords()
get get coords at gauss points
Definition: FaceElementForcesAndSourcesCore.hpp:471
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getTangent1
VectorDouble & getTangent1()
get triangle tangent 1
Definition: FaceElementForcesAndSourcesCore.hpp:429
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getNormal
VectorDouble & getNormal()
get triangle normal
Definition: FaceElementForcesAndSourcesCore.hpp:424
i
FTensor::Index< 'i', 3 > i
Definition: matrix_function.cpp:18
MoFEM::ForcesAndSourcesCore::UserDataOperator::loopSide
MoFEMErrorCode loopSide(const string &fe_name, ForcesAndSourcesCore *side_fe, const size_t dim, const EntityHandle ent_for_side=0)
User call this function to loop over elements on the side of face. This function calls finite element...
Definition: ForcesAndSourcesCore.cpp:1548
MoFEM::FaceElementForcesAndSourcesCoreBase::UserDataOperator::getCoords
VectorDouble & getCoords()
get triangle coordinates
Definition: FaceElementForcesAndSourcesCore.hpp:466
MoFEM::ForcesAndSourcesCore::UserDataOperator::ptrFE
ForcesAndSourcesCore * ptrFE
Definition: ForcesAndSourcesCore.hpp:389