From 37de75033ae945d5073618a8b08a97d1bc347caa Mon Sep 17 00:00:00 2001 From: Nuno Nobre Date: Tue, 20 Aug 2024 17:57:30 +0100 Subject: [PATCH] Specify (and read!) mesh only once (in main app) --- input/AForm.i | 4 +--- input/THeat.i | 1 + input/VLaplace.i | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/input/AForm.i b/input/AForm.i index 91d7fdc..cd5b99d 100644 --- a/input/AForm.i +++ b/input/AForm.i @@ -1,9 +1,6 @@ !include Parameters.i [Mesh] - type = FileMesh - file = ../mesh/vac_oval_coil_solid_target_coarse.e - second_order = true [] [Variables] @@ -91,6 +88,7 @@ type = FullSolveMultiApp input_files = VLaplace.i execute_on = initial + clone_parent_mesh = true [] [] diff --git a/input/THeat.i b/input/THeat.i index 5e28123..f18319e 100644 --- a/input/THeat.i +++ b/input/THeat.i @@ -80,6 +80,7 @@ type = TransientMultiApp input_files = AForm.i execute_on = timestep_begin + clone_parent_mesh = true [] [] diff --git a/input/VLaplace.i b/input/VLaplace.i index 7abd8d4..f7476e0 100644 --- a/input/VLaplace.i +++ b/input/VLaplace.i @@ -1,7 +1,4 @@ [Mesh] - type = FileMesh - file = ../mesh/vac_oval_coil_solid_target_coarse.e - second_order = true [] [Variables]