G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsXml.hpp File Reference

Provides implementation of XML helper functions. More...

+ Include dependency graph for gsXml.hpp:

Go to the source code of this file.

Namespaces

 gismo
 The G+Smo namespace, containing all definitions for the library.
 
 gismo::internal
 This namespace contains functionalities that are internal to the library.
 

Functions

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 >
void getSparseEntriesFromXml (gsXmlNode *node, gsSparseEntries< T > &result)
 Helper to fetch sparse entries.
 
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.
 
template<class T >
char * makeValue (const gsMatrix< T > &value, gsXmlTree &data, bool transposed)
 Helper to allocate matrix in XML pool.
 
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.
 

Detailed Description

Provides implementation of XML helper functions.

This file is part of the G+Smo library.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Author(s): A. Mantzaflaris