Mordicus.Modules.Scilab_ESI_Group.SciSolutionReader module¶
- Mordicus.Modules.Scilab_ESI_Group.SciSolutionReader.ReadSnapshotComponent(solutionFileName, 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
- Mordicus.Modules.Scilab_ESI_Group.SciSolutionReader.ReadTimeSequenceFromSolutionFile(solutionFileName)[source]¶
 Reads the time sequence from the solution file of the HF computation (may be different from the ones defined in the input data file if the solver chose to solve at additional time steps)
- Returns
 of size (numberOfSnapshots,)
- Return type
 np.ndarray
- class Mordicus.Modules.Scilab_ESI_Group.SciSolutionReader.SciSolutionReader(solutionFileName)[source]¶
 Bases:
SolutionReaderBaseClass containing a reader for SCILAB use case solution file
- solutionFileName¶
 - Type
 str
- 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