-
Notifications
You must be signed in to change notification settings - Fork 3
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
100 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
time,avg_c | ||
0,0.8 |
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,2 @@ | ||
time,max_c,min_c | ||
0,3.2375,-1.6375 |
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,2 @@ | ||
time,int_c | ||
0,4.8 |
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,63 @@ | ||
[Domain] | ||
dim = 2 | ||
nx = 40 | ||
ny = 40 | ||
xmax = 2 | ||
ymax = 3 | ||
mesh_mode = DUMMY | ||
device_names = cpu | ||
[] | ||
|
||
[TensorBuffers] | ||
[c] | ||
[] | ||
[] | ||
|
||
[TensorComputes] | ||
[Initialize] | ||
[c] | ||
type = ParsedCompute | ||
buffer = c | ||
extra_symbols = true | ||
expression = -x+y+0.3 | ||
[] | ||
[] | ||
[] | ||
|
||
[Postprocessors] | ||
[min_c] | ||
type = TensorExtremeValuePostprocessor | ||
buffer = c | ||
value_type = MIN | ||
execute_on = 'INITIAL TIMESTEP_END' | ||
[] | ||
[max_c] | ||
type = TensorExtremeValuePostprocessor | ||
buffer = c | ||
value_type = MAX | ||
execute_on = 'INITIAL TIMESTEP_END' | ||
[] | ||
[avg_c] | ||
type = TensorAveragePostprocessor | ||
buffer = c | ||
execute_on = 'INITIAL TIMESTEP_END' | ||
[] | ||
[int_c] | ||
type = TensorIntegralPostprocessor | ||
buffer = c | ||
execute_on = 'INITIAL TIMESTEP_END' | ||
[] | ||
[] | ||
|
||
[Problem] | ||
type = TensorProblem | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 0 | ||
[] | ||
|
||
[Outputs] | ||
csv = true | ||
[] |
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,31 @@ | ||
[Tests] | ||
[extreme_value] | ||
type = CSVDiff | ||
input = postprocessors.i | ||
csvdiff = extreme_value.csv | ||
cli_args = 'Outputs/file_base=extreme_value Postprocessors/active="min_c max_c"' | ||
requirement = 'The system shall be able to determine the minimum and maximum item value in a tensor.' | ||
issues = '#6' | ||
design = 'TensorExtremeValuePostprocessor.md' | ||
[] | ||
|
||
[average] | ||
type = CSVDiff | ||
input = postprocessors.i | ||
csvdiff = average.csv | ||
cli_args = 'Outputs/file_base=average Postprocessors/active="avg_c"' | ||
requirement = 'The system shall be able to determine the average value in a tensor.' | ||
issues = '#6' | ||
design = 'TensorAveragePostprocessor.md' | ||
[] | ||
|
||
[integral] | ||
type = CSVDiff | ||
input = postprocessors.i | ||
csvdiff = integral.csv | ||
cli_args = 'Outputs/file_base=integral Postprocessors/active="int_c"' | ||
requirement = 'The system shall be able to compute the integral over a simulation cell tensor.' | ||
issues = '#6' | ||
design = 'TensorIntegralPostprocessor.md' | ||
[] | ||
[] |