v0.14.0
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoFEM::OpBaseImpl< A, EleOp > Struct Template Reference

#include <src/finite_elements/FormsIntegrators.hpp>

Inheritance diagram for MoFEM::OpBaseImpl< A, EleOp >:
[legend]
Collaboration diagram for MoFEM::OpBaseImpl< A, EleOp >:
[legend]

Public Types

using OpType = typename EleOp::OpType
 
using EntData = EntitiesFieldData::EntData
 
using MatSetValuesHook = boost::function< MoFEMErrorCode(ForcesAndSourcesCore::UserDataOperator *op_ptr, const EntitiesFieldData::EntData &row_data, const EntitiesFieldData::EntData &col_data, MatrixDouble &m)>
 

Public Member Functions

 OpBaseImpl (const std::string row_field_name, const std::string col_field_name, const OpType type, boost::shared_ptr< Range > ents_ptr=nullptr)
 
MoFEMErrorCode doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, EntData &row_data, EntData &col_data)
 Do calculations for the left hand side. More...
 
MoFEMErrorCode doWork (int row_side, EntityType row_type, EntData &row_data)
 Do calculations for the right hand side. More...
 

Public Attributes

TimeFun timeScalingFun
 assumes that time variable is set More...
 
FEFun feScalingFun
 assumes that time variable is set More...
 
boost::shared_ptr< RangeentsPtr
 Entities on which element is run. More...
 

Static Public Attributes

static MatSetValuesHook matSetValuesHook
 

Protected Member Functions

template<int DIM>
FTensor::Tensor1< FTensor::PackPtr< double *, DIM >, DIM > getNf ()
 
template<int DIM>
FTensor::Tensor2< FTensor::PackPtr< double *, DIM >, DIM, DIM > getLocMat (const int rr)
 
virtual MoFEMErrorCode iNtegrate (EntData &row_data, EntData &col_data)
 Integrate grad-grad operator. More...
 
virtual MoFEMErrorCode aSsemble (EntData &row_data, EntData &col_data, const bool trans)
 
virtual MoFEMErrorCode iNtegrate (EntData &data)
 Class dedicated to integrate operator. More...
 
virtual MoFEMErrorCode aSsemble (EntData &data)
 
virtual size_t getNbOfBaseFunctions (EntitiesFieldData::EntData &data)
 Get number of base functions. More...
 

Protected Attributes

int nbRows
 number of dofs on rows More...
 
int nbCols
 number if dof on column More...
 
int nbIntegrationPts
 number of integration points More...
 
int nbRowBaseFunctions
 number or row base functions More...
 
int rowSide
 row side number More...
 
int colSide
 column side number More...
 
EntityType rowType
 row type More...
 
EntityType colType
 column type More...
 
bool assembleTranspose
 
bool onlyTranspose
 
MatrixDouble locMat
 local entity block matrix More...
 
MatrixDouble locMatTranspose
 local entity block matrix More...
 
VectorDouble locF
 local entity vector More...
 

Detailed Description

template<AssemblyType A, typename EleOp>
struct MoFEM::OpBaseImpl< A, EleOp >

Examples
ADOLCPlasticity.hpp, approx_sphere.cpp, EshelbianPlasticity.cpp, free_surface.cpp, level_set.cpp, phase.cpp, PlasticOps.hpp, PlasticOpsGeneric.hpp, PlasticOpsLargeStrains.hpp, PlasticOpsSmallStrains.hpp, poisson_2d_homogeneous.hpp, schur_test_diag_mat.cpp, seepage.cpp, SeepageOps.hpp, shallow_wave.cpp, tensor_divergence_operator.cpp, thermo_elastic.cpp, and ThermoElasticOps.hpp.

Definition at line 178 of file FormsIntegrators.hpp.

Member Typedef Documentation

◆ EntData

template<AssemblyType A, typename EleOp >
using MoFEM::OpBaseImpl< A, EleOp >::EntData = EntitiesFieldData::EntData

Definition at line 180 of file FormsIntegrators.hpp.

◆ MatSetValuesHook

template<AssemblyType A, typename EleOp >
using MoFEM::OpBaseImpl< A, EleOp >::MatSetValuesHook = boost::function<MoFEMErrorCode( ForcesAndSourcesCore::UserDataOperator *op_ptr, const EntitiesFieldData::EntData &row_data, const EntitiesFieldData::EntData &col_data, MatrixDouble &m)>

Definition at line 218 of file FormsIntegrators.hpp.

◆ OpType

template<AssemblyType A, typename EleOp >
using MoFEM::OpBaseImpl< A, EleOp >::OpType = typename EleOp::OpType

Definition at line 179 of file FormsIntegrators.hpp.

Constructor & Destructor Documentation

◆ OpBaseImpl()

template<AssemblyType A, typename EleOp >
MoFEM::OpBaseImpl< A, EleOp >::OpBaseImpl ( const std::string  row_field_name,
const std::string  col_field_name,
const OpType  type,
boost::shared_ptr< Range ents_ptr = nullptr 
)
inline

Definition at line 182 of file FormsIntegrators.hpp.

184  : EleOp(row_field_name, col_field_name, type, false),
185  assembleTranspose(false), onlyTranspose(false), entsPtr(ents_ptr) {}

Member Function Documentation

◆ aSsemble() [1/2]

template<AssemblyType A, typename EleOp >
MoFEMErrorCode OpBaseImpl::aSsemble ( EntData data)
protectedvirtual

Definition at line 490 of file FormsIntegrators.hpp.

490  {
491  if (!this->timeScalingFun.empty())
492  this->locF *= this->timeScalingFun(this->getFEMethod()->ts_t);
493  if (!this->feScalingFun.empty())
494  this->locF *= this->feScalingFun(this->getFEMethod());
495 
496  return VecSetValues<AssemblyTypeSelector<A>>(this->getKSPf(), data,
497  this->locF, ADD_VALUES);
498 }

◆ aSsemble() [2/2]

template<AssemblyType A, typename EleOp >
MoFEMErrorCode OpBaseImpl::aSsemble ( EntData row_data,
EntData col_data,
const bool  trans 
)
protectedvirtual

Definition at line 463 of file FormsIntegrators.hpp.

465  {
467 
468  if (!this->timeScalingFun.empty())
469  this->locMat *= this->timeScalingFun(this->getFEMethod()->ts_t);
470  if (!this->feScalingFun.empty())
471  this->locMat *= this->feScalingFun(this->getFEMethod());
472 
473  // Assemble transpose
474  if (transpose) {
475  this->locMatTranspose.resize(this->locMat.size2(), this->locMat.size1(),
476  false);
477  noalias(this->locMatTranspose) = trans(this->locMat);
478  CHKERR matSetValuesHook(this, col_data, row_data, this->locMatTranspose);
479  }
480 
481  if (!this->onlyTranspose) {
482  // assemble local matrix
483  CHKERR matSetValuesHook(this, row_data, col_data, this->locMat);
484  }
485 
487 }

◆ doWork() [1/2]

template<AssemblyType A, typename EleOp >
MoFEMErrorCode OpBaseImpl::doWork ( int  row_side,
EntityType  row_type,
EntData row_data 
)

Do calculations for the right hand side.

Parameters
row_side
row_type
row_data
Returns
MoFEMErrorCode

Definition at line 432 of file FormsIntegrators.hpp.

433  {
435 
436  if (entsPtr) {
437  if (entsPtr->find(this->getFEEntityHandle()) == entsPtr->end())
439  }
440 
441  // get number of dofs on row
442  nbRows = row_data.getIndices().size();
443  rowSide = row_side;
444  rowType = row_type;
445 
446  if (!nbRows)
448  // get number of integration points
449  nbIntegrationPts = EleOp::getGaussPts().size2();
450  // get row base functions
452  // resize and clear the right hand side vector
453  locF.resize(nbRows);
454  locF.clear();
455  // integrate local vector
456  CHKERR this->iNtegrate(row_data);
457  // assemble local vector
458  CHKERR this->aSsemble(row_data);
460 }

◆ doWork() [2/2]

template<AssemblyType A, typename EleOp >
MoFEMErrorCode OpBaseImpl::doWork ( int  row_side,
int  col_side,
EntityType  row_type,
EntityType  col_type,
EntitiesFieldData::EntData row_data,
EntitiesFieldData::EntData col_data 
)

Do calculations for the left hand side.

Parameters
row_siderow side number (local number) of entity on element
col_sidecolumn side number (local number) of entity on element
row_typetype of row entity
col_typetype of column entity
row_datadata for row
col_datadata for column
Returns
error code

Definition at line 377 of file FormsIntegrators.hpp.

380  {
382 
383  if (entsPtr) {
384  if (entsPtr->find(this->getFEEntityHandle()) == entsPtr->end())
386  }
387 
388  // get number of dofs on row
389  nbRows = row_data.getIndices().size();
390  // if no dofs on row, exit that work, nothing to do here
391  if (!nbRows)
393  rowSide = row_side;
394  rowType = row_type;
395  // get number of dofs on column
396  nbCols = col_data.getIndices().size();
397  // if no dofs on column, exit nothing to do here
398  if (!nbCols)
400  colSide = col_side;
401  colType = col_type;
402  // get number of integration points
403  nbIntegrationPts = EleOp::getGaussPts().size2();
404  // get row base functions
406 
407  // set size of local entity bock
408  locMat.resize(nbRows, nbCols, false);
409  // clear matrix
410  locMat.clear();
411  // integrate local matrix for entity block
412  CHKERR this->iNtegrate(row_data, col_data);
413 
414  // assemble local matrix
415  auto check_if_assemble_transpose = [&] {
416  if (this->sYmm) {
417  if (row_side != col_side || row_type != col_type)
418  return true;
419  else
420  return false;
421  } else if (assembleTranspose) {
422  return true;
423  }
424 
425  return false;
426  };
427  CHKERR aSsemble(row_data, col_data, check_if_assemble_transpose());
429 }

◆ getLocMat()

template<AssemblyType A, typename EleOp >
template<int DIM>
FTensor::Tensor2<FTensor::PackPtr<double *, DIM>, DIM, DIM> MoFEM::OpBaseImpl< A, EleOp >::getLocMat ( const int  rr)
inlineprotected

Definition at line 232 of file FormsIntegrators.hpp.

232  {
233  return getFTensor2FromArray<DIM, DIM, DIM>(locMat, rr);
234  }

◆ getNbOfBaseFunctions()

template<AssemblyType A, typename EleOp >
size_t OpBaseImpl::getNbOfBaseFunctions ( EntitiesFieldData::EntData data)
protectedvirtual

Get number of base functions.

Parameters
data
Returns
number of base functions

Definition at line 345 of file FormsIntegrators.hpp.

345  {
346  auto nb_base_functions = data.getN().size2();
347  if (data.getBase() != USER_BASE) {
348  switch (data.getSpace()) {
349  case NOSPACE:
350  break;
351  case NOFIELD:
352  break;
353  case H1:
354  break;
355  case HCURL:
356  case HDIV:
357  nb_base_functions /= 3;
358 #ifndef NDEBUG
359  if (data.getN().size2() % 3) {
360  SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
361  "Number of base functions is not divisible by 3");
362  }
363 #endif
364  break;
365  case L2:
366  break;
367  default:
368  SETERRQ1(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED,
369  "Space %s not implemented", FieldSpaceNames[data.getSpace()]);
370  }
371  }
372  return nb_base_functions;
373 }

◆ getNf()

template<AssemblyType A, typename EleOp >
template<int DIM>
FTensor::Tensor1<FTensor::PackPtr<double *, DIM>, DIM> MoFEM::OpBaseImpl< A, EleOp >::getNf ( )
inlineprotected

Definition at line 226 of file FormsIntegrators.hpp.

226  {
227  return getFTensor1FromArray<DIM, DIM>(locF);
228  }

◆ iNtegrate() [1/2]

template<AssemblyType A, typename EleOp >
virtual MoFEMErrorCode MoFEM::OpBaseImpl< A, EleOp >::iNtegrate ( EntData data)
inlineprotectedvirtual

Class dedicated to integrate operator.

Parameters
dataentity data on element row
Returns
error code

Reimplemented in MoFEM::OpBrokenSpaceConstrainDHybridImpl< FIELD_DIM, GAUSS, OpBase >, MoFEM::OpBrokenSpaceConstrainDFluxImpl< FIELD_DIM, GAUSS, OpBase >, OpURhs, OpRhs, MoFEM::OpConvectiveTermRhsImpl< 1, FIELD_DIM, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpConvectiveTermRhsImpl< 1, 1, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpNormalMixVecTimesVectorFieldImpl< SPACE_DIM, GAUSS, OpBase >, MoFEM::OpNormalMixVecTimesScalarImpl< 2, GAUSS, OpBase >, MoFEM::OpNormalMixVecTimesScalarImpl< 3, GAUSS, OpBase >, MoFEM::OpMixTensorTimesGradUImpl< SPACE_DIM, GAUSS, OpBase >, MoFEM::OpMixVecTimesDivLambdaImpl< SPACE_DIM, GAUSS, OpBase >, MoFEM::OpMixDivTimesUImpl< 1, FIELD_DIM, FIELD_DIM, GAUSS, OpBase, CoordSys >, MoFEM::OpMixDivTimesUImpl< 3, 1, SPACE_DIM, GAUSS, OpBase, CoordSys >, MoFEM::OpMixDivTimesUImpl< 3, FIELD_DIM, SPACE_DIM, GAUSS, OpBase, CoordSys >, MoFEM::OpGradTimesSymTensorImpl< 1, SPACE_DIM, SPACE_DIM, S, GAUSS, OpBase >, MoFEM::OpGradTimesTensorImpl< 1, SPACE_DIM, SPACE_DIM, S, GAUSS, OpBase >, MoFEM::OpGradTimesTensorImpl< 1, 1, SPACE_DIM, S, GAUSS, OpBase >, MoFEM::OpBaseTimesVectorImpl< 3, FIELD_DIM, S, GAUSS, OpBase >, MoFEM::OpBaseTimesVectorImpl< 1, FIELD_DIM, S, GAUSS, OpBase >, MoFEM::OpBaseTimesScalarImpl< 1, S, GAUSS, OpBase >, MoFEM::OpSourceImpl< 3, FIELD_DIM, GAUSS, SourceFunctionSpecialization::S< OpBase > >, MoFEM::OpSourceImpl< 1, FIELD_DIM, GAUSS, SourceFunctionSpecialization::S< OpBase > >, MoFEM::OpSourceImpl< 1, 1, GAUSS, SourceFunctionSpecialization::S< OpBase > >, Example::OpFluxRhs, Example::OpRadiationRhs, LevelSet::OpRhsDomain, and OpDomainResidualVector.

Definition at line 271 of file FormsIntegrators.hpp.

271  {
272  return MOFEM_NOT_IMPLEMENTED;
273  }

◆ iNtegrate() [2/2]

template<AssemblyType A, typename EleOp >
virtual MoFEMErrorCode MoFEM::OpBaseImpl< A, EleOp >::iNtegrate ( EntData row_data,
EntData col_data 
)
inlineprotectedvirtual

Integrate grad-grad operator.

Parameters
row_datarow data (consist base functions on row entity)
col_datacolumn data (consist base functions on column entity)
Returns
error code

Reimplemented in MoFEM::OpMixTensorTimesGradImpl< SPACE_DIM, GAUSS, OpBase >, MoFEM::OpMixVectorTimesGradImpl< 1, SPACE_DIM, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpMixVectorTimesGradImpl< 3, SPACE_DIM, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpMixScalarTimesDivImpl< SPACE_DIM, GAUSS, OpBase, COORDINATE_SYSTEM >, MoFEM::OpMixDivTimesVecImpl< SPACE_DIM, GAUSS, OpBase, CoordSys >, OpULhs_dH, MoFEM::OpMixDivTimesScalarImpl< SPACE_DIM, GAUSS, OpBase >, MoFEM::OpGradGradSymTensorGradGradImpl< 1, 1, SPACE_DIM, S, GAUSS, OpBase >, MoFEM::OpGradTensorGradImpl< 1, SPACE_DIM, SPACE_DIM, S, GAUSS, OpBase >, MoFEM::OpBrokenSpaceConstrainImpl< FIELD_DIM, GAUSS, OpBase >, MoFEM::OpGradSymTensorGradImpl< 1, SPACE_DIM, SPACE_DIM, S, GAUSS, OpBase >, OpULhs_dU, MoFEM::OpMassImpl< 3, 9, GAUSS, OpBase >, OpLhs, MoFEM::OpMassImpl< 3, 4, GAUSS, OpBase >, MoFEM::OpMassImpl< 3, FIELD_DIM, GAUSS, OpBase >, MoFEM::OpConvectiveTermLhsDyImpl< 1, FIELD_DIM, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpMassImpl< 1, FIELD_DIM, GAUSS, OpBase >, MoFEM::OpMassImpl< 1, 1, GAUSS, OpBase >, MoFEM::OpConvectiveTermLhsDuImpl< 1, FIELD_DIM, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpGradGradImpl< 1, FIELD_DIM, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpConvectiveTermLhsDyImpl< 1, 1, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpGradGradImpl< 1, 1, SPACE_DIM, GAUSS, OpBase >, MoFEM::OpConvectiveTermLhsDuImpl< 1, 1, SPACE_DIM, GAUSS, OpBase >, LevelSet::OpLhsDomain, Example::OpRadiationLhs, and OpDomainTangentMatrix.

Definition at line 259 of file FormsIntegrators.hpp.

259  {
260  return MOFEM_NOT_IMPLEMENTED;
261  }

Member Data Documentation

◆ assembleTranspose

template<AssemblyType A, typename EleOp >
bool MoFEM::OpBaseImpl< A, EleOp >::assembleTranspose
protected

Definition at line 246 of file FormsIntegrators.hpp.

◆ colSide

template<AssemblyType A, typename EleOp >
int MoFEM::OpBaseImpl< A, EleOp >::colSide
protected

column side number

Examples
PlasticOpsLargeStrains.hpp.

Definition at line 242 of file FormsIntegrators.hpp.

◆ colType

template<AssemblyType A, typename EleOp >
EntityType MoFEM::OpBaseImpl< A, EleOp >::colType
protected

column type

Examples
PlasticOpsLargeStrains.hpp.

Definition at line 244 of file FormsIntegrators.hpp.

◆ entsPtr

template<AssemblyType A, typename EleOp >
boost::shared_ptr<Range> MoFEM::OpBaseImpl< A, EleOp >::entsPtr

Entities on which element is run.

Definition at line 213 of file FormsIntegrators.hpp.

◆ feScalingFun

template<AssemblyType A, typename EleOp >
FEFun MoFEM::OpBaseImpl< A, EleOp >::feScalingFun

assumes that time variable is set

Definition at line 212 of file FormsIntegrators.hpp.

◆ locF

template<AssemblyType A, typename EleOp >
VectorDouble MoFEM::OpBaseImpl< A, EleOp >::locF
protected

local entity vector

Examples
level_set.cpp, PlasticOpsGeneric.hpp, poisson_2d_homogeneous.hpp, and SeepageOps.hpp.

Definition at line 251 of file FormsIntegrators.hpp.

◆ locMat

template<AssemblyType A, typename EleOp >
MatrixDouble MoFEM::OpBaseImpl< A, EleOp >::locMat
protected

◆ locMatTranspose

template<AssemblyType A, typename EleOp >
MatrixDouble MoFEM::OpBaseImpl< A, EleOp >::locMatTranspose
protected

local entity block matrix

Definition at line 250 of file FormsIntegrators.hpp.

◆ matSetValuesHook

template<AssemblyType A, typename EleOp >
OpBaseImpl< A, EleOp >::MatSetValuesHook OpBaseImpl::matSetValuesHook
static
Initial value:
=
const EntitiesFieldData::EntData &row_data,
return MatSetValues<AssemblyTypeSelector<A>>(
op_ptr->getKSPB(), row_data, col_data, m, ADD_VALUES);
}

Definition at line 220 of file FormsIntegrators.hpp.

◆ nbCols

template<AssemblyType A, typename EleOp >
int MoFEM::OpBaseImpl< A, EleOp >::nbCols
protected

◆ nbIntegrationPts

template<AssemblyType A, typename EleOp >
int MoFEM::OpBaseImpl< A, EleOp >::nbIntegrationPts
protected

number of integration points

Definition at line 238 of file FormsIntegrators.hpp.

◆ nbRowBaseFunctions

template<AssemblyType A, typename EleOp >
int MoFEM::OpBaseImpl< A, EleOp >::nbRowBaseFunctions
protected

number or row base functions

Definition at line 239 of file FormsIntegrators.hpp.

◆ nbRows

template<AssemblyType A, typename EleOp >
int MoFEM::OpBaseImpl< A, EleOp >::nbRows
protected

◆ onlyTranspose

template<AssemblyType A, typename EleOp >
bool MoFEM::OpBaseImpl< A, EleOp >::onlyTranspose
protected

Definition at line 247 of file FormsIntegrators.hpp.

◆ rowSide

template<AssemblyType A, typename EleOp >
int MoFEM::OpBaseImpl< A, EleOp >::rowSide
protected

row side number

Examples
PlasticOpsLargeStrains.hpp.

Definition at line 241 of file FormsIntegrators.hpp.

◆ rowType

template<AssemblyType A, typename EleOp >
EntityType MoFEM::OpBaseImpl< A, EleOp >::rowType
protected

row type

Examples
PlasticOpsLargeStrains.hpp.

Definition at line 243 of file FormsIntegrators.hpp.

◆ timeScalingFun

template<AssemblyType A, typename EleOp >
TimeFun MoFEM::OpBaseImpl< A, EleOp >::timeScalingFun

assumes that time variable is set

Definition at line 211 of file FormsIntegrators.hpp.


The documentation for this struct was generated from the following file:
MoFEM::OpBaseImpl::feScalingFun
FEFun feScalingFun
assumes that time variable is set
Definition: FormsIntegrators.hpp:212
NOSPACE
@ NOSPACE
Definition: definitions.h:83
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:460
MoFEM::OpBaseImpl::nbIntegrationPts
int nbIntegrationPts
number of integration points
Definition: FormsIntegrators.hpp:238
H1
@ H1
continuous field
Definition: definitions.h:85
MoFEM::OpBaseImpl::locMat
MatrixDouble locMat
local entity block matrix
Definition: FormsIntegrators.hpp:249
L2
@ L2
field with C-1 continuity
Definition: definitions.h:88
MoFEM::Types::MatrixDouble
UBlasMatrix< double > MatrixDouble
Definition: Types.hpp:77
MoFEM::OpBaseImpl::assembleTranspose
bool assembleTranspose
Definition: FormsIntegrators.hpp:246
USER_BASE
@ USER_BASE
user implemented approximation base
Definition: definitions.h:68
EleOp
MoFEM::OpBaseImpl::locF
VectorDouble locF
local entity vector
Definition: FormsIntegrators.hpp:251
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
MoFEM::OpBaseImpl::timeScalingFun
TimeFun timeScalingFun
assumes that time variable is set
Definition: FormsIntegrators.hpp:211
convert.type
type
Definition: convert.py:64
MoFEM::OpBaseImpl::iNtegrate
virtual MoFEMErrorCode iNtegrate(EntData &row_data, EntData &col_data)
Integrate grad-grad operator.
Definition: FormsIntegrators.hpp:259
MoFEM::EntitiesFieldData::EntData::getIndices
const VectorInt & getIndices() const
Get global indices of dofs on entity.
Definition: EntitiesFieldData.hpp:1204
MoFEM::OpBaseImpl::colSide
int colSide
column side number
Definition: FormsIntegrators.hpp:242
MoFEM::OpBaseImpl::locMatTranspose
MatrixDouble locMatTranspose
local entity block matrix
Definition: FormsIntegrators.hpp:250
MoFEM::OpBaseImpl::onlyTranspose
bool onlyTranspose
Definition: FormsIntegrators.hpp:247
MoFEM::ForcesAndSourcesCore::UserDataOperator
friend class UserDataOperator
Definition: ForcesAndSourcesCore.hpp:482
EntData
EntitiesFieldData::EntData EntData
Definition: child_and_parent.cpp:37
MoFEM::OpBaseImpl::nbRowBaseFunctions
int nbRowBaseFunctions
number or row base functions
Definition: FormsIntegrators.hpp:239
MoFEM::OpBaseImpl::rowSide
int rowSide
row side number
Definition: FormsIntegrators.hpp:241
MoFEM::OpBaseImpl::nbCols
int nbCols
number if dof on column
Definition: FormsIntegrators.hpp:237
FieldSpaceNames
const static char *const FieldSpaceNames[]
Definition: definitions.h:92
MoFEM::OpBaseImpl::nbRows
int nbRows
number of dofs on rows
Definition: FormsIntegrators.hpp:236
MoFEM::OpBaseImpl::entsPtr
boost::shared_ptr< Range > entsPtr
Entities on which element is run.
Definition: FormsIntegrators.hpp:213
MoFEM::OpBaseImpl::matSetValuesHook
static MatSetValuesHook matSetValuesHook
Definition: FormsIntegrators.hpp:220
HCURL
@ HCURL
field with continuous tangents
Definition: definitions.h:86
MOFEM_DATA_INCONSISTENCY
@ MOFEM_DATA_INCONSISTENCY
Definition: definitions.h:31
MoFEM::OpBaseImpl::aSsemble
virtual MoFEMErrorCode aSsemble(EntData &row_data, EntData &col_data, const bool trans)
Definition: FormsIntegrators.hpp:463
m
FTensor::Index< 'm', 3 > m
Definition: shallow_wave.cpp:80
MoFEM::OpBaseImpl::getNbOfBaseFunctions
virtual size_t getNbOfBaseFunctions(EntitiesFieldData::EntData &data)
Get number of base functions.
Definition: FormsIntegrators.hpp:345
MoFEM::OpBaseImpl::rowType
EntityType rowType
row type
Definition: FormsIntegrators.hpp:243
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
HDIV
@ HDIV
field with continuous normal traction
Definition: definitions.h:87
MOFEM_NOT_IMPLEMENTED
@ MOFEM_NOT_IMPLEMENTED
Definition: definitions.h:32
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359
MoFEM::OpBaseImpl::colType
EntityType colType
column type
Definition: FormsIntegrators.hpp:244
NOFIELD
@ NOFIELD
scalar or vector of scalars describe (no true field)
Definition: definitions.h:84