|
dynLattice
|
Module for exporting simulation data to ParaView format. More...
#include "ParaViewModule.h"


Classes | |
| struct | ElementInfo |
| Structure containing element group export information. More... | |
Public Member Functions | |
| ParaViewModule (const String &name="paraView") | |
| Constructor. | |
| virtual Status | init (const Properties &conf, const Properties &props, const Properties &globdat) override |
| Initialize the module. | |
| virtual Status | run (const Properties &globdat) override |
| Run the ParaView export. | |
| virtual void | shutdown (const Properties &globdat) override |
| Shutdown and finalize ParaView export. | |
Static Public Member Functions | |
| static Ref< Module > | makeNew (const String &name, const Properties &conf, const Properties &props, const Properties &globdat) |
| Factory method for creating new ParaViewModule instances. | |
| static void | declare () |
| Register ParaViewModule type with ModuleFactory. | |
| static idx_t | nameToVTKNum (const String &name) |
| Convert element shape name to VTK cell type number. | |
| static IdxVector | gmsh2ParaNodeOrder (const IdxVector elNodes, const String &name) |
| Convert GMSH node ordering to ParaView node ordering. | |
Static Public Attributes | |
Property identifiers | |
| static const char * | TYPE_NAME = "ParaView" |
| Module type name. | |
| static const char * | SPACING = " " |
| XML indentation spacing. | |
This module exports finite element simulation results to VTK/VTU format files for visualization in ParaView. Key features include:
The module supports both individual VTU files and ParaView collection (PVD) files for time series visualization. Element and node data can be selectively exported based on configuration, making it suitable for large-scale simulations where storage efficiency is important.
|
explicit |
| name | Module name (default: "paraView") |
|
static |
|
static |
| elNodes | Vector with JIVE node indices |
| name | Element shape name |
Different finite element codes use different node ordering conventions. This function converts from GMSH ordering to ParaView ordering
|
overridevirtual |
| conf | Actually used configuration properties (output) |
| props | User-specified module properties |
| globdat | Global data container |
Configures output format, file type, element groups, data fields, and sampling conditions for ParaView export
|
static |
| name | Module name |
| conf | Actually used configuration properties (output) |
| props | User-specified module properties |
| globdat | Global data container |
|
static |
| name | Element shape name (e.g., "Triangle", "Tetrahedron") |
Maps JIVE element shape names to corresponding VTK cell type numbers for proper visualization in ParaView
|
overridevirtual |
| globdat | Global data container |
Exports current simulation state to VTU file if sampling conditions are met, and updates PVD collection if enabled
|
overridevirtual |
| globdat | Global data container |
Writes final PVD collection file for time series visualization
|
static |
|
static |