v0.13.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MoFEM::OpAddParentEntData Struct Reference

Operator to project base functions from parent entity to child. More...

#include <src/finite_elements/MeshProjectionDataOperators.hpp>

Inheritance diagram for MoFEM::OpAddParentEntData:
[legend]
Collaboration diagram for MoFEM::OpAddParentEntData:
[legend]

Public Member Functions

 OpAddParentEntData (std::string field_name, OpType op_parent_type, boost::shared_ptr< ForcesAndSourcesCore > parent_ele_ptr, BitRefLevel bit_child, BitRefLevel bit_child_mask, BitRefLevel bit_parent_ent, BitRefLevel bit_parent_ent_mask, int verb=QUIET, Sev sev=Sev::noisy)
 Construct a new Op Add Parent Ent Data object. More...
 
 OpAddParentEntData (FieldSpace space, OpType op_parent_type, boost::shared_ptr< ForcesAndSourcesCore > parent_ele_ptr, BitRefLevel bit_child, BitRefLevel bit_child_mask, BitRefLevel bit_parent_ent, BitRefLevel bit_parent_ent_mask, int verb=QUIET, Sev sev=Sev::noisy)
 Construct a new Op Add Parent Ent Data object. More...
 
MoFEMErrorCode opRhs (EntitiesFieldData &data, const bool error_if_no_base=false)
 
- Public Member Functions inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
 UserDataOperator (const FieldSpace space, const char type=OPSPACE, 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...
 
int getFEDim () const
 Get dimension of finite element. More...
 
EntityType getFEType () const
 Get dimension of finite element. More...
 
boost::weak_ptr< SideNumbergetSideNumberPtr (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 () const
 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...
 
std::string getFEName () const
 Get name of the element. More...
 
ForcesAndSourcesCoregetPtrFE () const
 
ForcesAndSourcesCoregetSidePtrFE () const
 
ForcesAndSourcesCoregetRefinePtrFE () const
 
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
 
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 getTStimeStep () const
 
double getTSa () const
 
double getTSaa () const
 
MatrixDoublegetGaussPts ()
 matrix of integration (Gauss) points for Volume Element More...
 
auto getFTensor0IntegrationWeight ()
 Get integration weights. More...
 
MatrixDoublegetCoordsAtGaussPts ()
 Gauss points and weight, matrix (nb. of points x 3) More...
 
auto getFTensor1CoordsAtGaussPts ()
 Get coordinates at integration points assuming linear geometry. More...
 
double getMeasure () const
 get measure of element More...
 
doublegetMeasure ()
 get measure of element More...
 
MoFEMErrorCode loopSide (const string &fe_name, ForcesAndSourcesCore *side_fe, const size_t dim, const EntityHandle ent_for_side=0, const int verb=QUIET, const LogManager::SeverityLevel sev=Sev::noisy)
 User call this function to loop over elements on the side of face. This function calls finite element with is operator to do calculations. More...
 
MoFEMErrorCode loopThis (const string &fe_name, ForcesAndSourcesCore *parent_fe, const int verb=QUIET, const LogManager::SeverityLevel sev=Sev::noisy)
 User call this function to loop over parent elements. This function calls finite element with is operator to do calculations. More...
 
MoFEMErrorCode loopParent (const string &fe_name, ForcesAndSourcesCore *parent_fe, const int verb=QUIET, const LogManager::SeverityLevel sev=Sev::noisy)
 User call this function to loop over parent elements. This function calls finite element with is operator to do calculations. More...
 
MoFEMErrorCode loopChildren (const string &fe_name, ForcesAndSourcesCore *child_fe, const int verb=QUIET, const LogManager::SeverityLevel sev=Sev::noisy)
 User call this function to loop over parent elements. This function calls finite element with is operator to do calculations. More...
 
- 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, EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data)
 Operator for bi-linear form, usually to calculate values on left hand side. More...
 
virtual MoFEMErrorCode opLhs (EntitiesFieldData &row_data, EntitiesFieldData &col_data)
 
virtual MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)
 Operator for linear form, usually to calculate values on right hand side. More...
 
virtual MoFEMErrorCode opRhs (EntitiesFieldData &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 Attributes

std::string fieldName
 
FieldSpace approxSpace
 
OpType opParentType
 
boost::shared_ptr< ForcesAndSourcesCoreparentElePtr
 
const BitRefLevel bitChild
 
const BitRefLevel bitChildMask
 
const BitRefLevel bitParentEnt
 
const BitRefLevel bitParentEntMask
 
int verbosity
 
Sev severityLevel
 
boost::ptr_deque< EntitiesFieldData::EntDatapoolEntsVector
 

Additional Inherited Members

- Public Types inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
enum  OpType {
  OPROW = 1 << 0 , OPCOL = 1 << 1 , OPROWCOL = 1 << 2 , OPSPACE = 1 << 3 ,
  OPLAST = 1 << 3
}
 Controls loop over entities on element. More...
 
- Public Types inherited from MoFEM::DataOperator
using DoWorkLhsHookFunType = boost::function< MoFEMErrorCode(DataOperator *op_ptr, int row_side, int col_side, EntityType row_type, EntityType col_type, EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data)>
 
using DoWorkRhsHookFunType = boost::function< MoFEMErrorCode(DataOperator *op_ptr, int side, EntityType type, EntitiesFieldData::EntData &data)>
 
- Public Attributes inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
char opType
 
std::string rowFieldName
 
std::string colFieldName
 
FieldSpace sPace
 
- Public Attributes inherited from MoFEM::DataOperator
DoWorkLhsHookFunType doWorkLhsHook
 
DoWorkRhsHookFunType doWorkRhsHook
 
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...
 
- Static Public Attributes inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
static const char *const OpTypeNames []
 
- Protected Member Functions inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
virtual MoFEMErrorCode setPtrFE (ForcesAndSourcesCore *ptr)
 
- Protected Attributes inherited from MoFEM::ForcesAndSourcesCore::UserDataOperator
ForcesAndSourcesCoreptrFE
 

Detailed Description

Operator to project base functions from parent entity to child.

This operator project base functions, field data (i.e. indices, field values of dofs, etc.), into parent element. Operator can be called as a hierarchy to get access to information on lower refinement levels.

Examples
hanging_node_approx.cpp.

Definition at line 65 of file MeshProjectionDataOperators.hpp.

Constructor & Destructor Documentation

◆ OpAddParentEntData() [1/2]

MoFEM::OpAddParentEntData::OpAddParentEntData ( std::string  field_name,
OpType  op_parent_type,
boost::shared_ptr< ForcesAndSourcesCore parent_ele_ptr,
BitRefLevel  bit_child,
BitRefLevel  bit_child_mask,
BitRefLevel  bit_parent_ent,
BitRefLevel  bit_parent_ent_mask,
int  verb = QUIET,
Sev  sev = Sev::noisy 
)

Construct a new Op Add Parent Ent Data object.

Parameters
field_namefield name DOFs projected from parent
op_parent_typetype of user data operator
parent_ele_ptrparent finite element instance
bit_childbit of child entity
bit_child_maskbit mask of child
bit_parent_entbit of parent entity
bit_parent_ent_maskbit mask of parent
verbverbosity level
sevseverity level for logging

Definition at line 55 of file MeshProjectionDataOperators.cpp.

61 : ForcesAndSourcesCore::UserDataOperator(field_name, op_parent_type),
62 fieldName(field_name), opParentType(op_parent_type),
63 parentElePtr(parent_ele_ptr), bitChild(bit_child),
64 bitChildMask(bit_child_mask), bitParentEnt(bit_parent_ent),
65 bitParentEntMask(bit_parent_ent_mask), verbosity(verb),
66 severityLevel(sev) {
67 // Push op to collect data
68 auto field_op =
69 new ForcesAndSourcesCore::UserDataOperator(fieldName, opParentType);
70 parentElePtr->getOpPtrVector().push_back(field_op);
71}
constexpr auto field_name
boost::shared_ptr< ForcesAndSourcesCore > parentElePtr

◆ OpAddParentEntData() [2/2]

MoFEM::OpAddParentEntData::OpAddParentEntData ( FieldSpace  space,
OpType  op_parent_type,
boost::shared_ptr< ForcesAndSourcesCore parent_ele_ptr,
BitRefLevel  bit_child,
BitRefLevel  bit_child_mask,
BitRefLevel  bit_parent_ent,
BitRefLevel  bit_parent_ent_mask,
int  verb = QUIET,
Sev  sev = Sev::noisy 
)

Construct a new Op Add Parent Ent Data object.

Parameters
spacefield space
op_parent_typetype of user data operator
parent_ele_ptrparent finite element instance
bit_childbit of child entity
bit_child_maskbit mask of child
bit_parent_entbit of parent entity
bit_parent_ent_maskbit mask of parent
verbverbosity level
sevseverity level for logging

Definition at line 73 of file MeshProjectionDataOperators.cpp.

79 : ForcesAndSourcesCore::UserDataOperator(space, op_parent_type),
80 fieldName(""), approxSpace(space), opParentType(op_parent_type),
81 parentElePtr(parent_ele_ptr), bitChild(bit_child),
82 bitChildMask(bit_child_mask), bitParentEnt(bit_parent_ent),
83 bitParentEntMask(bit_parent_ent_mask), verbosity(verb),
84 severityLevel(sev) {
85 // Push op to collect data
86 auto field_op =
87 new ForcesAndSourcesCore::UserDataOperator(approxSpace, opParentType);
88 parentElePtr->getOpPtrVector().push_back(field_op);
89}

Member Function Documentation

◆ opRhs()

MoFEMErrorCode MoFEM::OpAddParentEntData::opRhs ( EntitiesFieldData data,
const bool  error_if_no_base = false 
)
virtual

swap child base

Todo:
add swap for Bernstein-Bezier base

Reimplemented from MoFEM::DataOperator.

Definition at line 91 of file MeshProjectionDataOperators.cpp.

92 {
93 int count_meshset_sides = 0;
95
96 auto check = [](auto &b, auto &m, auto &bit) {
97 return ((bit & b).any()) && ((bit & m) == bit);
98 };
99
100 auto set_child_data = [](auto &parent_data, auto &child_data) {
102 child_data.getEntDataBitRefLevel() = parent_data.getEntDataBitRefLevel();
103 child_data.sPace = parent_data.getSpace();
104 child_data.bAse = parent_data.getBase();
105 child_data.sEnse = parent_data.getSense();
106 child_data.oRder = parent_data.getOrder();
107 child_data.iNdices.swap(parent_data.getIndices());
108 child_data.localIndices.swap(parent_data.getLocalIndices());
109 child_data.dOfs.swap(parent_data.getFieldDofs());
110 child_data.fieldData.swap(parent_data.getFieldData());
111 child_data.fieldEntities.swap(parent_data.getFieldEntities());
113 };
114
115 /**
116 * @brief swap child base
117 *
118 * @todo add swap for Bernstein-Bezier base
119 *
120 */
121 auto set_child_base = [](auto &parent_data, auto &child_data) {
123 child_data.resetFieldDependentData();
124 child_data.getEntDataBitRefLevel() = parent_data.getEntDataBitRefLevel();
125 child_data.sPace = parent_data.getSpace();
126 child_data.getEntDataBitRefLevel() = parent_data.getEntDataBitRefLevel();
127
128#ifndef NDEBUG
129 if (child_data.bAse == AINSWORTH_BERNSTEIN_BEZIER_BASE)
130 SETERRQ(PETSC_COMM_SELF, MOFEM_NOT_IMPLEMENTED, "Base not implemented");
131#endif
132
134 for (int b = AINSWORTH_LEGENDRE_BASE; b != LASTBASE; b++) {
135 for (auto derivative = 0; derivative != BaseDerivatives::LastDerivative;
136 ++derivative) {
137 auto parent_base =
138 parent_data.getNSharedPtr(static_cast<FieldApproximationBase>(b),
139 static_cast<BaseDerivatives>(derivative));
140 if (parent_base) {
141 auto child_base = child_data.getNSharedPtr(
142 static_cast<FieldApproximationBase>(b),
143 static_cast<BaseDerivatives>(derivative));
144 if (!child_base)
145 child_base = boost::make_shared<MatrixDouble>();
146 child_base->swap(*parent_base);
147 }
148 }
149 }
150
152 };
153
154 auto switch_of_dofs_children = [](auto &parent_ent_data, auto &child_data) {
156 for (auto i : parent_ent_data.getIndices()) {
157 if (i >= 0) {
158 for (auto &child_ent_data : child_data) {
159 auto it = std::find(child_ent_data.getIndices().begin(),
160 child_ent_data.getIndices().end(), i);
161 if (it != child_ent_data.getIndices().end()) {
162 const auto dof_idx =
163 std::distance(child_ent_data.getIndices().begin(), it);
164 child_ent_data.getIndices()[dof_idx] = -1;
165 child_ent_data.getLocalIndices()[dof_idx] = -1;
166 child_ent_data.getFieldData()[dof_idx] = 0;
167 }
168 }
169 }
170 }
172 };
173
174 // that forces to run operator at last instance and collect data on
175 // entities
176 auto do_work_parent_hook = [&](DataOperator *op_ptr, int side,
178 EntitiesFieldData::EntData &data) {
180
181 BitRefLevel &bit_ent = data.getEntDataBitRefLevel();
182
183 // note all nodes from all added
184 if (check(bitParentEnt, bitParentEntMask, bit_ent)) {
185 ++count_meshset_sides;
186
187 if (verbosity >= VERBOSE) {
188 MOFEM_LOG("SELF", severityLevel)
189 << "Add entity data to meshset "
190 << "side/type: " << side << "/" << CN::EntityTypeName(type)
191 << " op space/base: " << FieldSpaceNames[data.getSpace()] << "/"
192 << ApproximationBaseNames[data.getBase()];
193 }
194
195 auto &data_on_meshset = entities_field_data.dataOnEntities[MBENTITYSET];
196 if (data_on_meshset.size() < count_meshset_sides) {
197 if (poolEntsVector.size()) {
198 data_on_meshset.transfer(data_on_meshset.end(),
200 } else {
201 entities_field_data.dataOnEntities[MBENTITYSET].resize(
202 count_meshset_sides);
203 }
204 }
205
206 auto &child_data_meshset =
207 entities_field_data
208 .dataOnEntities[MBENTITYSET][count_meshset_sides - 1];
209
210 if (opParentType == OPSPACE) {
211 CHKERR set_child_base(data, child_data_meshset);
212 child_data_meshset.resetFieldDependentData();
213
214 } else {
215
216 auto &field_entities = data.getFieldEntities();
217
218 // note all nodes from all added
219 if (field_entities.size() > 1) {
220 int dof_idx = 0;
221 for (auto dof : data.getFieldDofs()) {
222 auto &bit_ent = dof->getBitRefLevel();
223 if (!check(bitParentEnt, bitParentEntMask, bit_ent)) {
224 data.getIndices()[dof_idx] = -1;
225 data.getLocalIndices()[dof_idx] = -1;
226 data.getFieldData()[dof_idx] = 0;
227 }
228 ++dof_idx;
229 }
230 }
231
232#ifndef NDEBUG
233 if (verbosity >= NOISY) {
234 for (auto field_ent : field_entities) {
235 MOFEM_LOG("SELF", severityLevel)
236 << "Parent field entity bit: " << field_ent->getBitRefLevel()
237 << " " << *field_ent;
238 }
239 }
240#endif
241
242 if (field_entities.size()) {
243 boost::container::static_vector<EntityType, 128> ents_type;
244 ents_type.reserve(field_entities.size());
245 for (auto fe : field_entities)
246 ents_type.push_back(fe->getEntType());
247 std::sort(ents_type.begin(), ents_type.end());
248
249 auto end = std::unique(ents_type.begin(), ents_type.end());
250 for (auto it_t = ents_type.begin(); it_t != end; ++it_t)
251 CHKERR switch_of_dofs_children(
252 data, entities_field_data.dataOnEntities[*it_t]);
253 if (type == MBENTITYSET)
254 CHKERR switch_of_dofs_children(
255 data, entities_field_data.dataOnEntities[type]);
256 }
257
258 CHKERR set_child_data(data, child_data_meshset);
259 }
260 }
261
263 };
264
265 // iterate parents collect data
266 auto &bit_fe = getFEMethod()->numeredEntFiniteElementPtr->getBitRefLevel();
267 if (check(bitChild, bitChildMask, bit_fe)) {
268
269 if (verbosity >= VERBOSE) {
270 MOFEM_LOG("SELF", severityLevel) << "Child FE bit: " << bit_fe;
271 }
272
273 auto loop_parent_fe = [&]() {
275
276 parentElePtr->getOpPtrVector().back().doWorkRhsHook = do_work_parent_hook;
279
280#ifndef NDEBUG
281 auto &parent_gauss_pts = parentElePtr->gaussPts;
282 if (getGaussPts().size1() != parent_gauss_pts.size1()) {
283 MOFEM_LOG("SELF", Sev::error) << getGaussPts();
284 MOFEM_LOG("SELF", Sev::error) << parent_gauss_pts;
285 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
286 "Wrong number of weights");
287 }
288 if (getGaussPts().size2() != parent_gauss_pts.size2()) {
289 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
290 "Wrong number of integration points");
291 }
292#endif
293
295 };
296
297 CHKERR loop_parent_fe();
298 }
299
300 if (verbosity >= VERBOSE) {
301 MOFEM_LOG("SELF", severityLevel)
302 << "Number of meshset entities "
303 << entities_field_data.dataOnEntities[MBENTITYSET].size();
304 }
305
306 auto &data_on_meshset = entities_field_data.dataOnEntities[MBENTITYSET];
307 auto it = data_on_meshset.begin();
308
309 if (count_meshset_sides < data_on_meshset.size()) {
310 for (auto s = 0; s != count_meshset_sides; ++s)
311 ++it;
312 poolEntsVector.transfer(poolEntsVector.end(), it, data_on_meshset.end(),
313 data_on_meshset);
314 }
315
316 auto set_up_derivative_ent_data = [&](auto &entities_field_data,
317 auto &derivative_entities_field_data) {
319
320 using EntData = EntitiesFieldData::EntData;
321 using DerivedEntData = DerivedEntitiesFieldData::DerivedEntData;
322
324 auto &ents_data = entities_field_data.dataOnEntities[MBENTITYSET];
325 auto &dev_ents_data =
326 derivative_entities_field_data.dataOnEntities[MBENTITYSET];
327 dev_ents_data.clear();
328 for (auto c = 0; c < ents_data.size(); ++c) {
329 boost::shared_ptr<EntData> ent_data_ptr(data_ptr, &ents_data[c]);
330 dev_ents_data.push_back(new DerivedEntData(ent_data_ptr));
331 }
333 };
334
335 if (opParentType == OPSPACE) {
336 CHKERR set_up_derivative_ent_data(
337 entities_field_data,
338 *(getPtrFE()->getDerivedDataOnElementBySpaceArray()[approxSpace]));
339 }
340
341#ifndef NDEBUG
342 auto &side_table =
343 getPtrFE()->numeredEntFiniteElementPtr->getSideNumberTable();
344 for (auto &data : entities_field_data.dataOnEntities[MBENTITYSET]) {
345 for (auto dof : data.getFieldDofs()) {
346 auto &bit_dof = dof->getBitRefLevel();
347 if (check(bitParentEnt, bitParentEntMask, bit_dof)) {
348 auto ent = dof->getEnt();
349 if (side_table.find(ent) == side_table.end()) {
350 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
351 "Adjacency not found");
352 }
353 }
354 }
355 }
356#endif
357
359}
@ NOISY
Definition: definitions.h:211
@ VERBOSE
Definition: definitions.h:209
FieldApproximationBase
approximation base
Definition: definitions.h:58
@ LASTBASE
Definition: definitions.h:69
@ AINSWORTH_LEGENDRE_BASE
Ainsworth Cole (Legendre) approx. base .
Definition: definitions.h:60
@ AINSWORTH_BERNSTEIN_BEZIER_BASE
Definition: definitions.h:64
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
static const char *const FieldSpaceNames[]
Definition: definitions.h:92
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
@ MOFEM_DATA_INCONSISTENCY
Definition: definitions.h:31
@ MOFEM_NOT_IMPLEMENTED
Definition: definitions.h:32
static const char *const ApproximationBaseNames[]
Definition: definitions.h:72
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define CHKERR
Inline error check.
Definition: definitions.h:535
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:440
FTensor::Index< 'm', SPACE_DIM > m
#define MOFEM_LOG(channel, severity)
Log.
Definition: LogManager.hpp:308
auto bit
set bit
FTensor::Index< 'i', SPACE_DIM > i
const double c
speed of light (cm/ns)
std::bitset< BITREFLEVEL_SIZE > BitRefLevel
Bit structure attached to each entity identifying to what mesh entity is attached.
Definition: Types.hpp:40
EntitiesFieldData::EntData::BaseDerivatives BaseDerivatives
DataOperator(const bool symm=true)
Data on single entity (This is passed as argument to DataOperator::doWork)
boost::shared_ptr< const NumeredEntFiniteElement > numeredEntFiniteElementPtr
MoFEMErrorCode loopParent(const string &fe_name, ForcesAndSourcesCore *parent_fe, const int verb=QUIET, const LogManager::SeverityLevel sev=Sev::noisy)
User call this function to loop over parent elements. This function calls finite element with is oper...
std::string getFEName() const
Get name of the element.
@ OPSPACE
operator do Work is execute on space data
const FEMethod * getFEMethod() const
Return raw pointer to Finite Element Method object.
MatrixDouble & getGaussPts()
matrix of integration (Gauss) points for Volume Element
auto & getDataOnElementBySpaceArray()
Get data on entities and space.
boost::ptr_deque< EntitiesFieldData::EntData > poolEntsVector

Member Data Documentation

◆ approxSpace

FieldSpace MoFEM::OpAddParentEntData::approxSpace
private

Definition at line 112 of file MeshProjectionDataOperators.hpp.

◆ bitChild

const BitRefLevel MoFEM::OpAddParentEntData::bitChild
private

Definition at line 115 of file MeshProjectionDataOperators.hpp.

◆ bitChildMask

const BitRefLevel MoFEM::OpAddParentEntData::bitChildMask
private

Definition at line 116 of file MeshProjectionDataOperators.hpp.

◆ bitParentEnt

const BitRefLevel MoFEM::OpAddParentEntData::bitParentEnt
private

Definition at line 117 of file MeshProjectionDataOperators.hpp.

◆ bitParentEntMask

const BitRefLevel MoFEM::OpAddParentEntData::bitParentEntMask
private

Definition at line 118 of file MeshProjectionDataOperators.hpp.

◆ fieldName

std::string MoFEM::OpAddParentEntData::fieldName
private

Definition at line 111 of file MeshProjectionDataOperators.hpp.

◆ opParentType

OpType MoFEM::OpAddParentEntData::opParentType
private

Definition at line 113 of file MeshProjectionDataOperators.hpp.

◆ parentElePtr

boost::shared_ptr<ForcesAndSourcesCore> MoFEM::OpAddParentEntData::parentElePtr
private

Definition at line 114 of file MeshProjectionDataOperators.hpp.

◆ poolEntsVector

boost::ptr_deque<EntitiesFieldData::EntData> MoFEM::OpAddParentEntData::poolEntsVector
private

Definition at line 122 of file MeshProjectionDataOperators.hpp.

◆ severityLevel

Sev MoFEM::OpAddParentEntData::severityLevel
private

Definition at line 120 of file MeshProjectionDataOperators.hpp.

◆ verbosity

int MoFEM::OpAddParentEntData::verbosity
private

Definition at line 119 of file MeshProjectionDataOperators.hpp.


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