forked from idaholab/moose
/
tests
58 lines (56 loc) · 3.43 KB
/
tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[Tests]
issues = '#13754 #19451'
design = 'MultiAppGeneralFieldUserObjectTransfer.md'
[from_sub_to_sub]
requirement = "The system shall be able to transfer user-defined spatial data on the origin mesh directly between multiapps"
[nodal]
type = Exodiff
input = main_between_multiapp.i
exodiff = 'nodal_nodal_ma10.e nodal_nodal_ma20.e'
cli_args = "Outputs/file_base=nodal_nodal
MultiApps/ma1/cli_args='AuxVariables/inactive=received_elem'
MultiApps/ma2/cli_args='AuxVariables/inactive=received_elem'
Transfers/active='app1_to_2_nodal_nodal app2_to_1_nodal_nodal'"
detail = 'between nodal variables,'
[]
[elem]
type = Exodiff
input = main_between_multiapp.i
exodiff = 'elem_elem_ma10.e elem_elem_ma20.e'
cli_args = "Outputs/file_base=elem_elem
MultiApps/ma1/cli_args='AuxVariables/inactive=received_nodal'
MultiApps/ma2/cli_args='AuxVariables/inactive=received_nodal'
Transfers/active='app1_to_2_elem_elem app2_to_1_elem_elem'"
detail = 'between elemental variables,'
[]
[one_app_serial]
type = Exodiff
input = main_between_multiapp.i
exodiff = 'serial_ma10.e serial_ma20.e'
cli_args = "Outputs/file_base=serial
Transfers/active='app1_to_2_nodal_nodal app2_to_1_nodal_nodal app1_to_2_elem_elem app2_to_1_elem_elem'
MultiApps/ma1/max_procs_per_app=1"
detail = 'when one multiapp is run in serial,'
[]
# Block restriction of the transfer only is tested in ../subdomain
# We test here the block restriction of variables. Elemental variables are block restricted
[block_restriction_variables_same_type]
type = Exodiff
input = main_between_multiapp.i
exodiff = 'block_restricted_same_ma10.e block_restricted_same_ma20.e'
cli_args = "Outputs/file_base=block_restricted_same Transfers/active='app1_to_2_nodal_nodal app2_to_1_nodal_nodal app1_to_2_elem_elem app2_to_1_elem_elem'
MultiApps/ma1/cli_args='AuxVariables/sent_nodal/block=1;AuxVariables/received_nodal/block=1;AuxVariables/sent_elem/block=1;AuxVariables/received_elem/block=1;UserObjects/sent_nodal/block=1;UserObjects/sent_elem/block=1'
MultiApps/ma2/cli_args='AuxVariables/sent_nodal/block=0;AuxVariables/received_nodal/block=0;AuxVariables/sent_elem/block=0;AuxVariables/received_elem/block=0;UserObjects/sent_nodal/block=0;UserObjects/sent_elem/block=0'"
detail = 'with block restricted variables of matching types,'
[]
[block_restriction_variables_different_type]
type = Exodiff
input = main_between_multiapp.i
exodiff = 'block_restricted_diff_ma10.e block_restricted_diff_ma20.e'
cli_args = "Outputs/file_base=block_restricted_diff Transfers/active='app1_to_2_nodal_elem app2_to_1_nodal_elem app1_to_2_elem_nodal app2_to_1_elem_nodal'
MultiApps/ma1/cli_args='AuxVariables/sent_nodal/block=1;AuxVariables/received_nodal/block=1;AuxVariables/sent_elem/block=1;AuxVariables/received_elem/block=1;UserObjects/sent_nodal/block=1;UserObjects/sent_elem/block=1'
MultiApps/ma2/cli_args='AuxVariables/sent_nodal/block=0;AuxVariables/received_nodal/block=0;AuxVariables/sent_elem/block=0;AuxVariables/received_elem/block=0;UserObjects/sent_nodal/block=0;UserObjects/sent_elem/block=0'"
detail = 'with block restricted variables of different types.'
[]
[]
[]