G+Smo
25.01.0
Geometry + Simulation Modules
|
ParaView output Utilities. More...
Go to the source code of this file.
Namespaces | |
namespace | gismo |
The G+Smo namespace, containing all definitions for the library. | |
Functions | |
template<class MatrixType > | |
std::string | toDataArray (const MatrixType &matrix, std::map< std::string, std::string > attributes={{"",""}}, unsigned precision=5, const bool &export_base64=false) |
Formats the coordinates of points as a <DataArray> xml tag for ParaView export. | |
std::string | toDataArray (index_t num, std::map< std::string, std::string > attributes) |
Converts an integer to a 'DataArray' xml tag, which is returned as a string. | |
template<class E > | |
std::vector< std::string > | toVTK (const expr::_expr< E > &expr, gsExprEvaluator<> *evaltr, unsigned nPts=1000, unsigned precision=5, std::string label="SolutionField", const bool &export_base64=false) |
Evaluates one expression over all patches and returns all <DataArray> xml tags as a vector of strings, as no points are exported, no need to enforce 1:3D fields. | |
template<class T > | |
std::vector< std::string > | toVTK (const gsFunctionSet< T > &funSet, unsigned nPts=1000, unsigned precision=5, std::string label="", const bool &export_base64=false) |
Evaluates gsFunctionSet over all pieces( patches ) and returns all <DataArray> xml tags as a vector of strings. | |
gsMatrix< real_t > | vtkIDTransform (index_t nU, index_t nV) |
ID transformation between G+Smo and vtk control point IDs. | |
ParaView output Utilities.
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, J. Zwar, C. Karampatzakis