#include <src/interfaces/Core.hpp>
|
static constexpr const int | value = N |
|
template<int N>
struct MoFEM::CoreTmp< N >
- Examples
- bernstein_bezier_generate_base.cpp, field_blas.cpp, and partition_mesh.cpp.
Definition at line 36 of file Core.hpp.
◆ CoreTmp()
template<int N>
MoFEM::CoreTmp< N >::CoreTmp |
( |
moab::Interface & |
moab, |
|
|
MPI_Comm |
comm = PETSC_COMM_WORLD , |
|
|
const int |
verbose = VERBOSE |
|
) |
| |
Construct core database
- Parameters
-
moab | MoAB interface |
comm | MPI communicator |
verbose | Verbosity level |
Definition at line 48 of file CoreTemplates.hpp.
52 :
CoreTmp<
N - 1>(moab, comm, verbose, CoreValue<N>()) {
53
54
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);
63
64 this->basicEntityDataPtr = boost::make_shared<BasicEntityData>(moab);
65 this->setRefEntBasicDataPtr(*this, this->basicEntityDataPtr);
66
67 ierr = this->initialiseDatabaseFromMesh(verbose);
68 CHKERRABORT(comm,
ierr);
69
71}
#define MOFEM_LOG_CHANNEL(channel)
Set and reset channel.
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
CoreTmp(moab::Interface &moab, MPI_Comm comm=PETSC_COMM_WORLD, const int verbose=VERBOSE)
◆ getValue()
Definition at line 39 of file Core.hpp.
static constexpr const int value
◆ make_shared_ref_entity()
Definition at line 27 of file CoreTemplates.hpp.
27 {
29}
static boost::shared_ptr< RefEntityTmp< 0 > > makeSharedRefEntity(MoFEM::Interface &m_field, const EntityHandle ent)
◆ set_moab_interface()
Definition at line 20 of file CoreTemplates.hpp.
21 {
22 return this->setMoabInterface(new_moab, verb);
23};
◆ value
The documentation for this struct was generated from the following files: