|
gsXmlNode * | anyByTag (const std::string &tag, gsXmlNode *root) |
| Helper to get any object (by tag) if one exists in the XML tree.
|
|
void | appendBoxTopology (const gsBoxTopology &topology, gsXmlNode *node, gsXmlTree &data) |
| Appends a box topology into node, used for gsMultiPatch and gsMultiBasis.
|
|
int | countByTag (const std::string &tag, gsXmlNode *root) |
|
int | countByTagType (const std::string &tag, const std::string &type, gsXmlNode *root) |
|
gsXmlNode * | firstByTag (const std::string &tag, gsXmlNode *root) |
|
gsXmlNode * | firstByTagType (const std::string &tag, const std::string &type, gsXmlNode *root) |
|
template<class Object > |
Object * | getById (gsXmlNode *node, const int &id) |
|
template<class Object > |
Object * | getByLabel (gsXmlNode *node, const std::string &label) |
|
template<class Object > |
Object * | getGeometryFromXml (gsXmlNode *node) |
| Helper to fetch geometries.
|
|
template<class T > |
void | getMatrixFromXml (gsXmlNode *node, unsigned const &rows, unsigned const &cols, gsMatrix< T > &result, const std::string &base_type_flag="ascii") |
| Helper to fetch matrices.
|
|
template<class T = real_t> |
std::vector< gsBoundingBoxPair
< T > > | getPotentialIntersectionRanges (const gsBSpline< T > &curve1, const gsBSpline< T > &curve2, const T MAX_CURVATURE) |
|
template<class T > |
void | getSparseEntriesFromXml (gsXmlNode *node, gsSparseEntries< T > &result) |
| Helper to fetch sparse entries.
|
|
bool | gsExceptionHandler () |
| Exception handler.
|
|
gsXmlAttribute * | makeAttribute (const std::string &name, const std::string &value, gsXmlTree &data) |
| Helper to allocate XML attribute.
|
|
gsXmlAttribute * | makeAttribute (const std::string &name, const unsigned &value, gsXmlTree &data) |
| Helper to allocate XML attribute with unsigned int value.
|
|
gsXmlNode * | makeComment (const std::string &, gsXmlTree &data) |
| Helper to create an XML comment node.
|
|
template<short_t d, typename T > |
void | makeHierarchicalMesh (const gsHTensorBasis< d, T > &basis, std::vector< gsMesh< T > > &meshes, int n=0) |
| Look at function gismo::makeHierarchicalMesh.
|
|
gsXmlNode * | makeNode (const std::string &name, gsXmlTree &data) |
| Helper to allocate XML node.
|
|
gsXmlNode * | makeNode (const std::string &name, const std::string &value, gsXmlTree &data) |
| Helper to allocate XML node with value.
|
|
template<class T > |
gsXmlNode * | makeNode (const std::string &name, const gsMatrix< T > &value, gsXmlTree &data, bool transposed=false) |
| Helper to allocate XML node with gsMatrix value.
|
|
char * | makeValue (const std::string &value, gsXmlTree &data) |
| Helper to allocate XML value.
|
|
template<class T > |
char * | makeValue (const gsMatrix< T > &value, gsXmlTree &data, bool transposed) |
| Helper to allocate matrix in XML pool.
|
|
template<class Object > |
gsXmlNode * | putGeometryToXml (Object const &obj, gsXmlTree &data) |
| Helper to put geometries to XML.
|
|
template<class T > |
gsXmlNode * | putMatrixToXml (gsMatrix< T > const &mat, gsXmlTree &data, std::string name="Matrix") |
| Helper to insert matrices into XML.
|
|
template<class T > |
gsXmlNode * | putSparseMatrixToXml (gsSparseMatrix< T > const &mat, gsXmlTree &data, std::string name="SparseMatrix") |
| Helper to insert sparse matrices into XML.
|
|
gsXmlNode * | searchId (const int id, gsXmlNode *root, const char *tag_name=NULL, const bool print_warning=true) |
|
gsXmlNode * | searchNode (gsXmlNode *root, const std::string &attr_name, const std::string &value, const char *tag_name=NULL) |
|
std::string | to_string (const unsigned &i) |
| Helper to convert small unsigned to string.
|
|
This namespace contains functionalities that are internal to the library.