Mordicus.Modules.CT.IO.numpyToVTKWriter module¶
- class Mordicus.Modules.CT.IO.numpyToVTKWriter.VTKWriter(VTKBase)[source]¶
Bases:
SolutionReaderBase
Class containing writers for VTK files
- VTKBase¶
name of the VTK data structure (.vtu)
- Type
vtu data structure
- Mordicus.Modules.CT.IO.numpyToVTKWriter.WritePOD(VTKBase, solutionName, reducedOrderBasis)[source]¶
Functional API
Reads a snapshots from the Z-set solution file “solutionFileName” (.ut), at time “time” and of primality “primality”, from the HF computation
- Parameters
solutionFileName (str) – Z-set solution file
fieldName (str) – name of the solution from which the snapshot is read
time (float) – time at which the snapshot is read
primality (bool) – primality of the solution from which the snapshot is read
- Returns
of size (numberOfDofs,)
- Return type
np.ndarray