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

Allows to write several fields defined on the same geometry in one file, making it easier to operate with them inside Paraview. Ideally should be a part of gismoIO module,. More...

+ Include dependency graph for gsWriteParaviewMultiPhysics.h:

Go to the source code of this file.

Namespaces

 gismo
 The G+Smo namespace, containing all definitions for the library.
 

Functions

template<class T >
void gsWriteParaviewMultiPhysics (std::map< std::string, const gsField< T > * > fields, std::string const &fn, unsigned npts=NS, bool mesh=false, bool ctrlNet=false)
 Write a file containing several fields defined on the same geometry to ONE paraview file. More...
 
template<class T >
void gsWriteParaviewMultiPhysicsSinglePatch (std::map< std::string, const gsField< T > * > fields, const unsigned patchNum, std::string const &fn, unsigned npts)
 Extract and evaluate geometry and the fields for a single patch. More...
 
template<class T >
void gsWriteParaviewMultiPhysicsTimeStep (std::map< std::string, const gsField< T > * > fields, std::string const &fn, gsParaviewCollection &collection, int time, unsigned npts=NS)
 Write a file containing several fields defined on the same geometry to ONE paraview file and adds it as a timestep to a Paraview collection. More...
 
template<class T >
void gsWriteParaviewMultiTPgrid (gsMatrix< T > const &points, std::map< std::string, gsMatrix< T > > &data, const gsVector< index_t > &np, std::string const &fn)
 Utility function to actually write prepaired matrices with data into Paraview file. More...
 

Detailed Description

Allows to write several fields defined on the same geometry in one file, making it easier to operate with them inside Paraview. Ideally should be a part of gismoIO module,.

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. Shamanskiy (TU Kaiserslautern) Inspired by gsWriteParaview.h by A. Mantzaflaris