Class xlifepp::DomainMap#

class DomainMap#

handles map (declared as Function) between two GeomDomain’s.

Only one map between domains may be defined !!!

Public Functions

DomainMap(const GeomDomain&, const GeomDomain&, const Function&, bool nearest = false)#

explicit constructor (no name)

DomainMap(const GeomDomain&, const GeomDomain&, const Function&, const string_t &n, bool nearest = false)#

explicit constructor

~DomainMap()#

destructor

inline const GeomDomain &dom1() const#

returns start domain

inline const GeomDomain &dom2() const#

returns end domain

inline const Function &map1to2() const#

returns map function

Public Members

string_t name#

a unique name

bool useNearest#

use nearest method instead of locate method after mapping

Public Static Functions

static void clearGlobalVector()#

delete all map objects

static void removeMaps(const GeomDomain&)#

delete and remove maps involving a given domain

Public Static Attributes

static std::map<string_t, DomainMap*> theDomainMaps#

list of existing maps indexed by name

list of pointers of all domain maps indexed by name