Containers

Geo supports

const GeoSupport BasicTools::GeoNA
const GeoSupport BasicTools::GeoPoint
const GeoSupport BasicTools::GeoBar
const GeoSupport BasicTools::GeoTri
const GeoSupport BasicTools::GeoQuad
const GeoSupport BasicTools::GeoTet
const GeoSupport BasicTools::GeoPyr
const GeoSupport BasicTools::GeoWed
const GeoSupport BasicTools::GeoHex

Element Names

const std::string BasicTools::Point_1 = "point1"
const std::string BasicTools::Bar_2 = "bar2"
const std::string BasicTools::Bar_3 = "bar3"
const std::string BasicTools::Triangle_6 = "tri6"
const std::string BasicTools::Quadrangle_8 = "quad8"
const std::string BasicTools::Quadrangle_9 = "quad9"
const std::string BasicTools::Tetrahedron_4 = "tet4"
const std::string BasicTools::Pyramid_5 = "pyr5"
const std::string BasicTools::Wedge_6 = "wed6"
const std::string BasicTools::Hexaedron_8 = "hex8"
const std::string BasicTools::Tetrahedron_10 = "tet10"
const std::string BasicTools::Pyramid_13 = "pyr13"
const std::string BasicTools::Wedge_15 = "wed15"
const std::string BasicTools::Wedge_18 = "wed18"
const std::string BasicTools::Hexaedron_20 = "hex20"
const std::string BasicTools::Hexaedron_27 = "hex27"

Warning

doxygenclass: Cannot find class “BasicTools::ElementInfo” in doxygen xml output for project “BasicToolsCpp” from directory: ./xml/

UnstructuredMesh

class UnstructuredMesh

Public Functions

UnstructuredMesh()
MAPSETGET_MatrixID1 (OriginalIds, originalIDNodes) MAPSETGET_MatrixDDD(Nodes
nodes CBasicIndexType GetNumberOfNodes () const
template<typename T>
void AddNodalTag(std::string &name, T &arg1)
template<typename T, typename T2>
void AddElements(std::string &elementType, T &arg1, T2 &arg2)
template<typename T>
void AddElementTag(std::string &elementType, std::string &tagname, T &arg1)
void Print()
std::string ToStr()

Public Members

AllElements elements
class ElementsContainer

Public Functions

ElementsContainer(const std::string &elemtype = "")
CBasicIndexType GetNumberOfElements() const
MAPSETGET_MatrixIDD (Connectivity, connectivity) MAPSETGET_MatrixID1(OriginalIds
originalIds std::string GetElementType () const
template<typename T>
void AddTag(std::string &name, T &arg1)

Public Members

Tags tags
class AllElements

Public Functions

ElementsContainer &GetElementsOfType(const std::string &elemtype)
CBasicIndexType GetNumberOfElements() const
std::string ToStr()
ElementsContainer &operator[](const std::string &key)
inline std::map<std::string, ElementsContainer, sortbyName>::const_iterator begin() const
inline std::map<std::string, ElementsContainer, sortbyName>::const_iterator end() const

Public Members

std::map<std::string, ElementsContainer, sortbyName> storage

Tags

class Tag

Public Functions

Tag()
CBasicIndexType GetSize() const
template<typename T>
void SetIds(T &ids)
class Tags

Public Functions

void AddTag(Tag &tag)
bool Contains(const std::string &key) const
Tag &operator[](const std::string &key)
std::string ToStr() const
std::map<std::string, Tag>::iterator begin()
std::map<std::string, Tag>::iterator end()

Filters

class ElementFilterBase

Subclassed by BasicTools::ElementFilter, BasicTools::ElementFilterEvaluated, BasicTools::ElementFilterIntersection

Public Functions

virtual const MatrixID1 GetIdsToTreat(UnstructuredMesh &mesh, const std::string &elementType) const = 0
const MatrixID1 GetIdsToTreatComplementary(UnstructuredMesh &mesh, const std::string &elementType)
class ElementFilterEvaluated : public BasicTools::ElementFilterBase

Public Functions

virtual const MatrixID1 GetIdsToTreat(UnstructuredMesh &mesh, const std::string &elemtype) const
void SetIdsToTreatFor(const std::string &elemtype, const Eigen::Ref<const MatrixID1> &ids)
void Clear()
virtual std::string ToStr() const
class ElementFilter : public BasicTools::ElementFilterBase

Public Types

enum ZONE

Values:

enumerator CENTER
enumerator ALLNODES
enumerator LEASTONENODE

Public Functions

ElementFilter()
void AddTag(const std::string &tagName)
void SetDimensionality(const int &dim)
virtual const MatrixID1 CheckTags(Tags &tags, const CBasicIndexType &ts, bool &active) const
virtual const MatrixID1 GetIdsToTreat(UnstructuredMesh &mesh, const std::string &elemtype) const
virtual std::string ToStr() const
void SetCENTER()
void SetALLNODES()
void SetLEASTONENODE()
class ElementFilterIntersection : public BasicTools::ElementFilterBase

Public Functions

virtual const MatrixID1 GetIdsToTreat(UnstructuredMesh &mesh, const std::string &elemtype) const

Unstructured Mesh Tools

MatrixDDD BasicTools::GetElementsCenters(const MapMatrixDDD &nodes, const ElementsContainer &elements)