WRApplication
External kratos "application" for multiscale time integration.
|
Snapshot that stores/fetches its data in/from memory. More...
Public Member Functions | |
KratosMultiphysics.Expression.Expression | GetExpression (self, KratosMultiphysics.Globals.DataLocation container_type, WRApp.Typing.Variable variable) |
bool | Exists (self) |
Check whether the data related to this Snapshot has already been written. More... | |
None | Erase (self, KratosMultiphysics.DataCommunicator communicator) |
Erase stored data related to this snapshot. More... | |
bool | IsValid (self) |
Check whether the stored data matches the ID of the Snapshot. More... | |
"SnapshotInMemory" | FromModelPart (typing.Type["SnapshotInMemory"] cls, KratosMultiphysics.ModelPart model_part, typing.Union[KratosMultiphysics.Parameters, None] parameters=None) |
Deduce variables from an input ModelPart and construct a SnapshotFS. More... | |
typing.Type["SnapshotInMemoryManager"] | GetManagerType (cls) |
Return the manager type associated with the specialized Snapshot type. More... | |
Public Member Functions inherited from Snapshot | |
None | Load (self, KratosMultiphysics.ModelPart model_part) |
Load data from this snapshot to the specified model part. More... | |
None | Write (self, KratosMultiphysics.ModelPart model_part) |
Write data from the current state of the specified model part to the snapshot. More... | |
KratosMultiphysics.Parameters | GetDefaultParameters (cls) |
"Snapshot" | FromModelPart (cls, KratosMultiphysics.ModelPart model_part, KratosMultiphysics.Parameters parameters) |
int | analysis_path (self) |
int | step (self) |
WRApp.CheckpointID | id (self) |
Static Public Member Functions | |
typing.Type[SnapshotInMemoryInput] | GetInputType () |
Get the class responsible for reading snapshot data. More... | |
typing.Type[SnapshotInMemoryOutput] | GetOutputType () |
Get the class responsible for writing snapshot data. More... | |
Static Public Member Functions inherited from Snapshot | |
list | GetSolutionPath (list snapshots) |
Pick snapshots from the provided list that are part of the solution path. More... | |
Snapshot that stores/fetches its data in/from memory.
@classname SnapshotInMemory
None Erase | ( | self, | |
KratosMultiphysics.DataCommunicator | communicator | ||
) |
Erase stored data related to this snapshot.
Reimplemented from Snapshot.
bool Exists | ( | self | ) |
"SnapshotInMemory" FromModelPart | ( | typing.Type["SnapshotInMemory"] | cls, |
KratosMultiphysics.ModelPart | model_part, | ||
typing.Union[KratosMultiphysics.Parameters,None] | parameters = None |
||
) |
Deduce variables from an input ModelPart and construct a SnapshotFS.
Input- and output parameters are defaulted if they are not specified by the user. The related file name defaults to "<model_part_name>_step_<step>_path_<path>".
KratosMultiphysics.Expression.Expression GetExpression | ( | self, | |
KratosMultiphysics.Globals.DataLocation | container_type, | ||
WRApp.Typing.Variable | variable | ||
) |
|
static |
Get the class responsible for reading snapshot data.
Reimplemented from Snapshot.
typing.Type["SnapshotInMemoryManager"] GetManagerType | ( | cls | ) |
|
static |
Get the class responsible for writing snapshot data.
Reimplemented from Snapshot.
bool IsValid | ( | self | ) |