File tree Expand file tree Collapse file tree
examples/linear-elastic-plate-with-hole Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434shared_env_dir = root_unzipped_benchmark_dir / "conda_envs"
3535shared_env_dir .mkdir (parents = True , exist_ok = True )
3636
37+ ####################################################################################################
38+ ####################################################################################################
39+ # Simulation tool metadata (to be included in the RO-Crate)
40+ ####################################################################################################
41+ ####################################################################################################
42+
43+ tool_name = "fenics"
44+ tool_uri = "https://github.com/FEniCS/dolfinx"
45+ tool_version = "0.9.0"
46+
3747####################################################################################################
3848####################################################################################################
3949# Conditional execution of parameter configurations
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ def analytical_displacement_expr(x: np.ndarray) -> np.ndarray:
197197 # u.eval returns a 2D array: shape (num_points, value_size)
198198 local_displacement = u .eval (
199199 displacement_eval_point , np .array ([cell ], dtype = np .int32 )
200- )[ 0 ] .tolist () # [ux, uy]
200+ ).tolist () # [ux, uy]
201201
202202
203203 def project (
Original file line number Diff line number Diff line change 3434shared_env_dir = root_unzipped_benchmark_dir / "conda_envs"
3535shared_env_dir .mkdir (parents = True , exist_ok = True )
3636
37+ ####################################################################################################
38+ ####################################################################################################
39+ # Simulation tool metadata (to be included in the RO-Crate)
40+ ####################################################################################################
41+ ####################################################################################################
42+
43+ tool_name = "kratos"
44+ tool_uri = "https://github.com/KratosMultiphysics/Kratos"
45+ tool_version = "10.3.1"
46+
3747####################################################################################################
3848####################################################################################################
3949# Conditional execution of parameter configurations
You can’t perform that action at this time.
0 commit comments