WRApplication
External kratos "application" for multiscale time integration.
|
DatasetTransform that uses a Mapper to map datasets before assigning them to the target ModelPart. More...
Public Member Functions | |
None | Execute (self) |
"DatasetMap" | Factory (cls, "WRApp.AsyncSolver" solver, KratosMultiphysics.Parameters parameters) |
Construct a DatasetMap and its related Mapper. More... | |
KratosMultiphysics.Parameters | GetDefaultParameters (cls) |
DatasetTransform that uses a Mapper to map datasets before assigning them to the target ModelPart.
@classname DatasetMap
This operation consists of 3 subtasks: 1) Fetch variables from the source ModelPart. 2) Map the fetched data from the source ModelPart to the target ModelPart. 3) Assign the transformed data to the target ModelPart.
Fetching and assigning data can only be performed on variables, but the source and target variables need not be the same variable, or even be defined on the same entity types.
Default parameters:
Source and target variables can be defined in the same manner, specifying the entity types they belong to ("nodal_historical", "nodal", "element", or "condition") and the name of the variable. The number of source and target variables must be equal, as each transformed source dataset is assigned to the target dataset at the matching position. Example for DatasetMap:
The example parameters above configure DatasetMap to fetch data from the REACTION historical variable defined on the nodes of the "FluidInterface" model part, maps it to the nearest neighbour in the target model part, and assign it to the TRACTION non-historical variable defined on the nodes of the "SolidInterface" model part.
None Execute | ( | self | ) |
Reimplemented from DatasetTransform.
"DatasetMap" Factory | ( | cls, | |
"WRApp.AsyncSolver" | solver, | ||
KratosMultiphysics.Parameters | parameters | ||
) |
Construct a DatasetMap and its related Mapper.
Reimplemented from DatasetTransform.
KratosMultiphysics.Parameters GetDefaultParameters | ( | cls | ) |
Reimplemented from DatasetTransform.