22 return this->setMoabInterface(new_moab, verb);
26boost::shared_ptr<RefEntityTmp<0>>
34 : moab(moab), mofemComm(comm), verbose(verbose),
35 initaliseAndBuildField(PETSC_FALSE),
36 initaliseAndBuildFiniteElements(PETSC_FALSE) {
38 ierr = coreGenericConstructor(moab, comm, verbose);
39 CHKERRABORT(comm,
ierr);
42 if (verbose >
QUIET) {
43 MOFEM_LOG_C(
"WORLD", Sev::verbose,
"Core number < %d >", V);
55 ierr = this->registerSubInterfaces();
56 CHKERRABORT(comm,
ierr);
57 ierr = this->clearMap();
58 CHKERRABORT(comm,
ierr);
59 ierr = this->getTags();
60 CHKERRABORT(comm,
ierr);
61 ierr = this->getOptions(verbose);
62 CHKERRABORT(comm,
ierr);
64 this->basicEntityDataPtr = boost::make_shared<BasicEntityData>(moab);
65 this->setRefEntBasicDataPtr(*
this, this->basicEntityDataPtr);
67 ierr = this->initialiseDatabaseFromMesh(verbose);
68 CHKERRABORT(comm,
ierr);
Interface managing BitRefLevels.
Log and register warnings.
#define MOFEM_LOG_C(channel, severity, format,...)
MeshsetsManager interface.
SeverityLevel
Severity levels.
#define MOFEM_LOG_CHANNEL(channel)
Set and reset channel.
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
static boost::shared_ptr< RefEntityTmp< 0 > > makeSharedRefEntity(MoFEM::Interface &m_field, const EntityHandle ent)
MoFEMErrorCode set_moab_interface(moab::Interface &new_moab, int verb)
CoreTmp(moab::Interface &moab, MPI_Comm comm=PETSC_COMM_WORLD, const int verbose=VERBOSE)
virtual boost::shared_ptr< RefEntityTmp< 0 > > make_shared_ref_entity(const EntityHandle ent)