Loading...
Searching...
No Matches
levelSetProxyObject.tpp
40LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::LevelSetProxyObject(int id) : BaseLevelSetObject(id){
55}
60 * A cell can be either in the narrow band or in the bulk. It will be considered inside the narrow
69{
76 typedef typename BaseLevelSetObject::CellCacheCollection::template ValueCache<char> BaseZoneCache;
100void LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::fillCellLocationCache(const std::vector<adaption::Info> &adaptionData)
158bool LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::isInNarrowBand(const std::array<double,3> &point)const
171const SourceLevelSetObject * LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getCellReferencePrimaryObject(long id) const{
182 if( const LevelSetProxyObject *referenceProxyObject = dynamic_cast<const LevelSetProxyObject*>(referenceObject) ){
198const SourceLevelSetObject * LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getReferencePrimaryObject(const std::array<double, 3> &point) const{
209 if( const LevelSetProxyObject *referenceProxyObject = dynamic_cast<const LevelSetProxyObject*>(referenceObject) ){
244int LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getCellReferencePrimaryObjectId(long id) const{
255 const LevelSetProxyBaseObject *referenceProxyObject = dynamic_cast<const LevelSetProxyBaseObject *>(referenceObject);
271int LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getReferenceObjectId(const std::array<double, 3> &point) const{
290int LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getReferencePrimaryObjectId(const std::array<double, 3> &point) const{
302 const LevelSetProxyBaseObject *referenceProxyObject = dynamic_cast<const LevelSetProxyBaseObject *>(referenceObject);
316std::vector<const SourceLevelSetObject *> LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getPrimarySourceObjects() const{
320 if( const LevelSetProxyObject *proxySourceObject = dynamic_cast<const LevelSetProxyObject*>(sourceObject) ){
321 std::vector<const SourceLevelSetObject *> sourcePrimarySourceObjects = proxySourceObject->getPrimarySourceObjects();
338std::vector<int> LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getSourceObjectIds() const{
359std::vector<int> LevelSetProxyObject<SourceLevelSetObject, BaseLevelSetObject>::getPrimarySourceObjectIds() const{
CellCacheCollection::ValueCache< value_t > * getCellCache(std::size_t cacheId) const
Definition levelSetObject.tpp:61
virtual const LevelSetKernel * getKernel() const
Definition levelSetObject.cpp:271
std::size_t m_cellLocationCacheId
Id of the cache that will keep track if cell zones.
Definition levelSetObject.hpp:145
virtual const SourceLevelSetObject * getCellReferencePrimaryObject(long id) const
Definition levelSetProxyObject.tpp:171
int getReferencePrimaryObjectId(const std::array< double, 3 > &point) const override
Definition levelSetProxyObject.tpp:290
int getCellReferenceObjectId(long id) const override
Definition levelSetProxyObject.tpp:225
LevelSetProxyObject(int)
Definition levelSetProxyObject.tpp:40
bool isPrimary() const override
Definition levelSetProxyObject.tpp:53
std::vector< int > getPrimarySourceObjectIds() const override
Definition levelSetProxyObject.tpp:359
bool isCellInNarrowBand(long id) const override
Definition levelSetProxyObject.tpp:144
virtual std::vector< const SourceLevelSetObject * > getPrimarySourceObjects() const
Definition levelSetProxyObject.tpp:316
int getCellReferencePrimaryObjectId(long id) const override
Definition levelSetProxyObject.tpp:244
bool isInNarrowBand(const std::array< double, 3 > &point) const override
Definition levelSetProxyObject.tpp:158
int getReferenceObjectId(const std::array< double, 3 > &point) const override
Definition levelSetProxyObject.tpp:271
std::vector< int > getSourceObjectIds() const override
Definition levelSetProxyObject.tpp:338
void fillCellLocationCache() override
Definition levelSetProxyObject.tpp:68
virtual const SourceLevelSetObject * getReferencePrimaryObject(const std::array< double, 3 > &point) const
Definition levelSetProxyObject.tpp:198
int getPrimaryObjectId(long) const
Definition levelSetProxyObject.tpp:382
CellConstIterator cellConstBegin() const
Definition patch_kernel.cpp:2705
CellConstIterator cellConstEnd() const
Definition patch_kernel.cpp:2715
The VolumeKernel class provides an interface for defining volume patches.
Definition volume_kernel.hpp:33
The Info struct defines the infomation associated to an adaption.
Definition adaption.hpp:63
