v0.14.0
Loading...
Searching...
No Matches
DeprecatedCoreInterface.cpp
Go to the documentation of this file.
1/** \file DeprecatedCoreInterface.cpp
2 * \brief implementation of deprecated functions
3 */
4
5
6#include <MoFEM.hpp>
7
8namespace MoFEM {
9
12 const BitRefLevel &bit, int verb) {
13 return getInterface<BitRefManager>()->setBitRefLevelByDim(meshset, 2, bit,
14 verb);
15}
16
19 const BitRefLevel &bit, int verb) {
20 return getInterface<BitRefManager>()->setBitRefLevelByDim(meshset, 3, bit,
21 verb);
22}
23
25 const BitRefLevel &bit,
26 const bool only_tets,
27 int verb) {
28 return getInterface<BitRefManager>()->setBitRefLevel(ents, bit, only_tets,
29 verb);
30}
31
33 const int dim,
34 const int adj_dim,
35 const int n_parts,
36 int verb) {
37 return getInterface<CommInterface>()->partitionMesh(
38 ents, dim, adj_dim, n_parts, NULL, NULL, NULL, verb);
39}
40
42 int verb) {
43 return getInterface<CommInterface>()->synchroniseEntities(ent, nullptr, verb);
44}
45
48 int verb) {
49 return getInterface<CommInterface>()->synchroniseFieldEntities(name, verb);
50}
51
52} // namespace MoFEM
const int dim
DEPRECATED MoFEMErrorCode synchronise_field_entities(const std::string &name, int verb=DEFAULT_VERBOSITY)
auto bit
set bit
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Definition: Exceptions.hpp:56
std::bitset< BITREFLEVEL_SIZE > BitRefLevel
Bit structure attached to each entity identifying to what mesh entity is attached.
Definition: Types.hpp:40
implementation of Data Operators for Forces and Sources
Definition: Common.hpp:10
DEPRECATED MoFEMErrorCode partition_mesh(const Range &ents, const int dim, const int adj_dim, const int n_parts, int verb=-1)
Set partition tag to each finite element in the problem.
DEPRECATED MoFEMErrorCode synchronise_entities(Range &ent, int verb=DEFAULT_VERBOSITY)
DEPRECATED MoFEMErrorCode seed_ref_level(const Range &ents, const BitRefLevel &bit, const bool only_tets=true, int verb=-1)
seed entities in the range and their adjacencies in a particular BitRefLevel
DEPRECATED MoFEMErrorCode seed_ref_level_3D(const EntityHandle meshset, const BitRefLevel &bit, int verb=-1)
seed 2D entities in the meshset and their adjacencies (only TETs adjacencies) in a particular BitRefL...
virtual DEPRECATED MoFEMErrorCode seed_ref_level_2D(const EntityHandle meshset, const BitRefLevel &bit, int verb=-1)
seed 2D entities (Triangles entities only) in the meshset and their adjacencies (only TRIs adjacencie...