forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,47 @@ | ||
[Tests] | ||
issues = '#22563' | ||
design = 'Coupleable.md | ||
|
||
[nodal] | ||
type = Exodiff | ||
input = nodal.i | ||
exodiff = nodal_out.e | ||
requirement = "The system shall allow nodal user objects to obtain writable references to nodal variables." | ||
[] | ||
[elemental] | ||
type = Exodiff | ||
input = elemental.i | ||
exodiff = elemental_out.e | ||
requirement = "The system shall allow elemental user objects to obtain writable references to elemental variables." | ||
[] | ||
|
||
[nodal_error] | ||
type = RunException | ||
input = nodal.i | ||
cli_args = 'AuxVariables/v/family=MONOMIAL AuxVariables/v/order=CONSTANT' | ||
expect_err = 'nodal: cannot couple elemental variables into nodal objects' | ||
requirement = "The system shall prevent nodal user objects from obtaining writable references to elemental variables." | ||
[] | ||
[elemental_error] | ||
type = RunException | ||
input = elemental.i | ||
cli_args = 'AuxVariables/v/family=LAGRANGE AuxVariables/v/order=FIRST' | ||
expect_err = "The ElementUserObject 'elemental' cannot obtain a writable reference to the nodal variable 'v'." | ||
requirement = "The system shall prevent elemental user objects from obtaining writable references to nodal variables." | ||
[] | ||
|
||
[block] | ||
type = Exodiff | ||
input = block.i | ||
exodiff = block_out.e | ||
cli_args = 'UserObjects/elemental/block=1' | ||
requirement = "The system shall allow block restricted user objects to obtain a writable reference to a variable with a block restriction that includes the user object's blocks" | ||
[] | ||
[block_error] | ||
type = RunException | ||
input = block.i | ||
cli_args = 'AuxVariables/v/block=1' | ||
expect_err = "The variable 'v' must be defined on all blocks 'elemental' is defined on" | ||
requirement = "The system shall enforce that all variables an object obtains a writable reference to are defined on all of the object's blocks" | ||
[] | ||
[] |