keeps data about abstract TRI finite element
More...
#include <src/multi_indices/RefElementMultiIndices.hpp>
keeps data about abstract TRI finite element
Definition at line 99 of file RefElementMultiIndices.hpp.
◆ RefElementFace()
MoFEM::RefElementFace::RefElementFace |
( |
const boost::shared_ptr< RefEntity > & |
ref_ents_ptr | ) |
|
Definition at line 338 of file RefElementMultiIndices.cpp.
343 switch (ref_ents_ptr->getEntType()) {
345 nb_nodes = nb_edges = 3;
348 nb_nodes = nb_edges = 4;
353 int side_number, sense, offset;
358 rval = moab.get_connectivity(tri, conn, num_nodes,
true);
360 for (
int nn = 0; nn < nb_nodes; nn++) {
363 boost::shared_ptr<SideNumber>(
new SideNumber(conn[nn], nn, 0, 0)));
365 for (
int ee = 0; ee < nb_edges; ee++) {
367 rval = moab.side_element(tri, 1, ee, edge);
369 rval = moab.side_number(tri, edge, side_number, sense, offset);
372 .insert(boost::shared_ptr<SideNumber>(
373 new SideNumber(edge, ee, sense, offset)));
376 .insert(boost::shared_ptr<SideNumber>(
new SideNumber(tri, 0, 0, 0)));
◆ ~RefElementFace()
virtual MoFEM::RefElementFace::~RefElementFace |
( |
| ) |
|
|
virtualdefault |
◆ getSideNumberPtr()
const boost::shared_ptr< SideNumber > & MoFEM::RefElementFace::getSideNumberPtr |
( |
const EntityHandle |
ent | ) |
const |
|
virtual |
Reimplemented from MoFEM::RefElement.
Definition at line 379 of file RefElementMultiIndices.cpp.
384 if (
sPtr->ent == ent) {
387 .insert(boost::shared_ptr<SideNumber>(
new SideNumber(ent, 0, 0, 0)))
394 .insert(boost::shared_ptr<SideNumber>(
new SideNumber(ent, 0, 0, 0)))
398 int side_number, sense, offset;
399 rval = moab.side_number(
sPtr->ent, ent, side_number, sense, offset);
402 .insert(boost::shared_ptr<SideNumber>(
403 new SideNumber(ent, side_number, sense, offset)))
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const RefElementFace & |
e |
|
) |
| |
|
friend |
The documentation for this struct was generated from the following files:
multi_index_container< boost::shared_ptr< SideNumber >, indexed_by< ordered_unique< member< SideNumber, EntityHandle, &SideNumber::ent > >, ordered_non_unique< composite_key< SideNumber, const_mem_fun< SideNumber, EntityType, &SideNumber::getEntType >, member< SideNumber, signed char, &SideNumber::side_number > > > > > SideNumber_multiIndex
SideNumber_multiIndex for SideNumber.