54 std::unique_ptr<LevelSetKernel> m_kernel ;
58 bool m_signedDistance;
60 bool m_forceSignPropagation;
61 bool m_signPropagationEnabled;
63 double m_narrowBandSize;
67 std::unordered_map<int,std::unique_ptr<LevelSetObject>> m_objects ;
68 std::vector<int> m_orderedObjectsIds ;
70 int registerObject( std::unique_ptr<LevelSetObject> && ) ;
71 bool unregisterObject(
int id,
bool force);
73 void registerObjectId(
int) ;
74 void unregisterObjectId(
int) ;
76 void incrementObjectsReferenceCount(
int parentId) ;
77 void decrementObjectsReferenceCount(
int parentId) ;
85 void update(
const std::vector<adaption::Info> &adaptionData) ;
92 template<
typename LevelSetSourceObject = LevelSetObject>
95 template<
typename LevelSetSourceObject = LevelSetObject>
97 template<
typename LevelSetSourceObject = LevelSetObject>
108 int addObject( std::unique_ptr<LevelSetObject> && ) ;
129 void dump( std::ostream &)
const;
132 BITPIT_DEPRECATED_FOR(
void setSizeNarrowBand(
double size),
void setNarrowBandSize(
double size));
133 BITPIT_DEPRECATED_FOR(
double getSizeNarrowBand()
const,
double getNarrowBandSize()
const);
138 BITPIT_DEPRECATED_FOR(
void compute(),
void evaluate());
139 BITPIT_DEPRECATED_FOR(
void compute(
int id),
void evaluate(
int id));
140 BITPIT_DEPRECATED_FOR(
void compute(
const std::vector<int> &ids),
void evaluate(
const std::vector<int> &ids));
142 BITPIT_DEPRECATED_FOR(
void update(
const std::vector<adaption::Info> &adaptionData,
int id),
void update(
const std::vector<adaption::Info> &adaptionData));
143 BITPIT_DEPRECATED_FOR(
void update(
const std::vector<adaption::Info> &adaptionData,
const std::vector<int> &ids),
void update(
const std::vector<adaption::Info> &adaptionData));
145# if BITPIT_ENABLE_MPI