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.
Fix merge output and diff color, add tests (idaholab#19001)
- Loading branch information
Showing
10 changed files
with
307 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Left hand side: | ||
input1.i | ||
|
||
Right hand side: | ||
input2.i | ||
|
||
Parameters removed left -> right: | ||
[31m | ||
[BCs] | ||
[left] | ||
type = DirichletBC | ||
value = 0 | ||
variable = u | ||
[] | ||
[right] | ||
type = NeumannBC | ||
value = 0 | ||
variable = v | ||
[] | ||
[] | ||
[Kernels] | ||
[diff_u] | ||
type = Diffusion | ||
variable = u | ||
[] | ||
[diff_v] | ||
type = Diffusion | ||
variable = v | ||
[] | ||
[] | ||
|
||
[39mParameters added left -> right: | ||
[32m | ||
[Outputs] | ||
[out] | ||
type = Exodus | ||
[] | ||
[] | ||
[PostProcessor] | ||
[max] | ||
mode = MAX | ||
type = Calculation | ||
value = 1 | ||
[] | ||
[min] | ||
mode = min | ||
type = Calculation | ||
value = 1 | ||
[] | ||
[] | ||
|
||
[39mParameters with differing values: | ||
|
||
[33mPostProcessor/min2/value[34m (input1.i:34)[39m has differing values | ||
'[31m0[39m' -> '[32m1[39m' | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Left hand side: | ||
input1.i | ||
|
||
Right hand side: | ||
input2.i | ||
|
||
Common parameters: | ||
|
||
[PostProcessor] | ||
[min2] | ||
mode = MIN | ||
type = Calculation | ||
[] | ||
[] | ||
|
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Left hand side: | ||
input1.i | ||
|
||
Right hand side: | ||
input2.i | ||
|
||
Parameters removed left -> right: | ||
|
||
[BCs] | ||
[left] | ||
type = DirichletBC | ||
value = 0 | ||
variable = u | ||
[] | ||
[right] | ||
type = NeumannBC | ||
value = 0 | ||
variable = v | ||
[] | ||
[] | ||
[Kernels] | ||
[diff_u] | ||
type = Diffusion | ||
variable = u | ||
[] | ||
[diff_v] | ||
type = Diffusion | ||
variable = v | ||
[] | ||
[] | ||
|
||
Parameters added left -> right: | ||
|
||
[Outputs] | ||
[out] | ||
type = Exodus | ||
[] | ||
[] | ||
[PostProcessor] | ||
[max] | ||
mode = MAX | ||
type = Calculation | ||
value = 1 | ||
[] | ||
[min] | ||
mode = min | ||
type = Calculation | ||
value = 1 | ||
[] | ||
[] | ||
|
||
Parameters with differing values: | ||
|
||
PostProcessor/min2/value (input1.i:34) has differing values | ||
'0' -> '1' | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Left hand side: | ||
input1.i | ||
|
||
Right hand side: | ||
input2.i | ||
|
||
Parameters removed left -> right: | ||
BCs/left/type (input1.i:19) is missing on the right. | ||
BCs/left/value (input1.i:21) is missing on the right. | ||
BCs/left/variable (input1.i:20) is missing on the right. | ||
BCs/right/type (input1.i:24) is missing on the right. | ||
BCs/right/value (input1.i:26) is missing on the right. | ||
BCs/right/variable (input1.i:25) is missing on the right. | ||
Kernels/diff_u/type (input1.i:8) is missing on the right. | ||
Kernels/diff_u/variable (input1.i:9) is missing on the right. | ||
Kernels/diff_v/type (input1.i:12) is missing on the right. | ||
Kernels/diff_v/variable (input1.i:13) is missing on the right. | ||
|
||
Parameters added left -> right: | ||
Outputs/out/type (input2.i:8) is missing on the left. | ||
PostProcessor/max/mode (input2.i:15) is missing on the left. | ||
PostProcessor/max/type (input2.i:14) is missing on the left. | ||
PostProcessor/max/value (input2.i:16) is missing on the left. | ||
PostProcessor/min/mode (input2.i:20) is missing on the left. | ||
PostProcessor/min/type (input2.i:19) is missing on the left. | ||
PostProcessor/min/value (input2.i:21) is missing on the left. | ||
|
||
Parameters with differing values: | ||
|
||
PostProcessor/min2/value (input1.i:34) has differing values | ||
'0' -> '1' | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Left hand side: | ||
input1.i | ||
|
||
Right hand side: | ||
input2.i | ||
|
||
Parameters removed left -> right: | ||
[31m[31mBCs/left/type[34m (input1.i:19)[39m is missing on the right. | ||
[31mBCs/left/value[34m (input1.i:21)[39m is missing on the right. | ||
[31mBCs/left/variable[34m (input1.i:20)[39m is missing on the right. | ||
[31mBCs/right/type[34m (input1.i:24)[39m is missing on the right. | ||
[31mBCs/right/value[34m (input1.i:26)[39m is missing on the right. | ||
[31mBCs/right/variable[34m (input1.i:25)[39m is missing on the right. | ||
[31mKernels/diff_u/type[34m (input1.i:8)[39m is missing on the right. | ||
[31mKernels/diff_u/variable[34m (input1.i:9)[39m is missing on the right. | ||
[31mKernels/diff_v/type[34m (input1.i:12)[39m is missing on the right. | ||
[31mKernels/diff_v/variable[34m (input1.i:13)[39m is missing on the right. | ||
|
||
[39mParameters added left -> right: | ||
[32m[32mOutputs/out/type[34m (input2.i:8)[39m is missing on the left. | ||
[32mPostProcessor/max/mode[34m (input2.i:15)[39m is missing on the left. | ||
[32mPostProcessor/max/type[34m (input2.i:14)[39m is missing on the left. | ||
[32mPostProcessor/max/value[34m (input2.i:16)[39m is missing on the left. | ||
[32mPostProcessor/min/mode[34m (input2.i:20)[39m is missing on the left. | ||
[32mPostProcessor/min/type[34m (input2.i:19)[39m is missing on the left. | ||
[32mPostProcessor/min/value[34m (input2.i:21)[39m is missing on the left. | ||
|
||
[39mParameters with differing values: | ||
|
||
[33mPostProcessor/min2/value[34m (input1.i:34)[39m has differing values | ||
'[31m0[39m' -> '[32m1[39m' | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# | ||
# This is not a valid MOOSE input, it is only used for testing the HIT command | ||
# line utility. | ||
# | ||
|
||
[Kernels] | ||
[diff_u] | ||
type = Diffusion | ||
variable = u | ||
[] | ||
[diff_v] | ||
type = Diffusion | ||
variable = v | ||
[] | ||
[] | ||
|
||
[BCs] | ||
[left] | ||
type = DirichletBC | ||
variable = u | ||
value = 0 | ||
[] | ||
[right] | ||
type = NeumannBC | ||
variable = v | ||
value = 0 | ||
[] | ||
[] | ||
|
||
[PostProcessor] | ||
[min2] | ||
type = Calculation | ||
mode = MIN | ||
value = 1 | ||
[] | ||
[max] | ||
type = Calculation | ||
mode = MAX | ||
value = 1 | ||
[] | ||
[min] | ||
type = Calculation | ||
mode = min | ||
value = 1 | ||
[] | ||
[] | ||
[Outputs] | ||
[out] | ||
type = Exodus | ||
[] | ||
[] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,11 @@ | |
value = 0 | ||
[] | ||
[] | ||
|
||
[PostProcessor] | ||
[min2] | ||
type = Calculation | ||
mode = MIN | ||
value = 0 | ||
[] | ||
[] |
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