Mordicus.Modules.Phimeca.IO.OTSolutionReader module¶
- class Mordicus.Modules.Phimeca.IO.OTSolutionReader.OTSolutionReader(outputSample)[source]¶
Bases:
SolutionReaderBase
Solution reader for OpenTURNS fields
- outputSample¶
Snapshot
- Type
openturns.ProcessSample
- ReadSnapshotComponent(fieldName, time, primality)[source]¶
Reads a snapshots from the solutions of name “fieldName”, at time “time” and of primality “primality”, from the HF computation
- Parameters
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