diff --git a/framework/include/userobject/LayeredBase.h b/framework/include/userobject/LayeredBase.h index 3184e89be5fc..f9e7530a45a2 100644 --- a/framework/include/userobject/LayeredBase.h +++ b/framework/include/userobject/LayeredBase.h @@ -74,7 +74,7 @@ class LayeredBase : private Restartable * Get direction of the layers * @return layer direction */ - const unsigned int & direction() const { return _direction; } + const unsigned int direction() const { return _direction; } virtual void initialize(); virtual void finalize(); diff --git a/test/tests/userobjects/nearest_point_layered_average/tests b/test/tests/userobjects/nearest_point_layered_average/tests index 728a49a3cd2b..0d7fa20c86d0 100644 --- a/test/tests/userobjects/nearest_point_layered_average/tests +++ b/test/tests/userobjects/nearest_point_layered_average/tests @@ -1,5 +1,5 @@ [Tests] - [./test] + [test] type = 'Exodiff' input = 'nearest_point_layered_average.i' cli_args = "UserObjects/npla/points='0.25 0 0.25 0.75 0 0.25 0.25 0 0.75 0.75 0 0.75'" @@ -7,9 +7,9 @@ requirement = 'The system shall compute layered averages that computed from the closest values for a list of points that are explicitly specified in an input file' design = 'NearestPointLayeredAverage.md' issues = '#1878' - [../] + [] - [./from_file] + [from_file] type = 'Exodiff' input = 'nearest_point_layered_average.i' cli_args = "UserObjects/npla/points_file='points.txt'" @@ -18,9 +18,9 @@ design = 'NearestPointLayeredAverage.md' issues = '#12356' prereq = test - [../] + [] - [./error_missing_point_spec] + [error_missing_point_spec] type = RunException input = 'nearest_point_layered_average.i' expect_err = "npla: You need to supply either 'points' or 'points_file' parameter\." @@ -28,9 +28,9 @@ requirement = 'The system shall report an error when points are not specified in an input file nor an external file when computing nearest point layered averages' design = 'NearestPointLayeredAverage.md' issues = '#12356' - [../] + [] - [./error_conflicting_point_spec] + [error_conflicting_point_spec] type = RunException input = 'nearest_point_layered_average.i' cli_args = "UserObjects/npla/points='0.25 0 0.25' UserObjects/npla/points_file='points.txt'" @@ -39,9 +39,9 @@ requirement = 'The system shall report an error when points are specified both in an input file and an external file when computing nearest point layered averages' design = 'NearestPointLayeredAverage.md' issues = '#12356' - [../] + [] - [./error_not_enough_points_in_a_file] + [error_not_enough_points_in_a_file] type = RunException input = 'nearest_point_layered_average.i' cli_args = "UserObjects/npla/points_file='bad_points.txt'" @@ -50,31 +50,32 @@ requirement = 'The system shall report an error when there is not enough coordinates specified in an external file specifing the point for computing nearest point layered averages' design = 'NearestPointLayeredAverage.md' issues = '#12356' - [../] + [] - [./nearest_radius] + [nearest_radius] type = 'Exodiff' input = 'nearest_radius_layered_average.i' exodiff = 'nearest_radius_layered_average_out.e' requirement = 'The system shall compute layered averages for concentric cylindrical rings with equal thickness for a list of points that correspond to the average radius of each ring' design = 'NearestRadiusLayeredAverage.md' issues = '#16829' - [../] + [] - [./points_from_uo] + [points_from_uo] type = 'CSVDiff' input = 'points_from_uo.i' csvdiff = 'points_from_uo_out_spatial_from_uo_0002.csv' requirement = 'The system shall compute layered averages computed from the closest values for a list of points and output to a spatial vector postprocessor with one point per unique nearest point and layer' design = 'NearestPointLayeredAverage.md' issues = '#18931' - [../] - [./radius_points_from_uo] + [] + + [radius_points_from_uo] type = 'CSVDiff' input = 'radius_points_from_uo.i' csvdiff = 'radius_points_from_uo_out_spatial_from_uo_0002.csv' requirement = 'The system shall compute radial layered averages computed from the closest values for a list of points and output to a spatial vector postprocessor with one point per unique nearest point and layer' design = 'NearestRadiusLayeredAverage.md' issues = '#18931' - [../] + [] [] diff --git a/test/tests/userobjects/nearest_point_layered_integral/tests b/test/tests/userobjects/nearest_point_layered_integral/tests index 05b8fb825110..5dbbd4195dbd 100644 --- a/test/tests/userobjects/nearest_point_layered_integral/tests +++ b/test/tests/userobjects/nearest_point_layered_integral/tests @@ -1,18 +1,19 @@ [Tests] - [./from_file] + [from_file] type = 'Exodiff' input = 'nearest_point_layered_integral.i' exodiff = 'nearest_point_layered_integral_out.e' requirement = 'The system shall compute layered integrals that computed from the closest values for a list of points that are specified in an external file' design = 'NearestPointLayeredIntegral.md' issues = '#14717' - [../] - [./points_from_uo] + [] + + [points_from_uo] type = 'CSVDiff' input = 'points_from_uo.i' csvdiff = 'points_from_uo_out_spatial_from_uo_0002.csv' requirement = 'The system shall compute layered integrals computed from the closest values for a list of points and output to a spatial vector postprocessor with one point per unique nearest point and layer' design = 'NearestPointLayeredIntegral.md' issues = '#18931' - [../] + [] [] diff --git a/test/tests/vectorpostprocessors/nearest_point_integral/tests b/test/tests/vectorpostprocessors/nearest_point_integral/tests index 77968d2f3813..72cf8ce3537e 100644 --- a/test/tests/vectorpostprocessors/nearest_point_integral/tests +++ b/test/tests/vectorpostprocessors/nearest_point_integral/tests @@ -1,10 +1,10 @@ [Tests] - [./points_from_uo] + [points_from_uo] type = 'CSVDiff' input = 'nearest_point_integral.i' csvdiff = 'nearest_point_integral_out_spatial_from_uo_0002.csv' requirement = 'The system shall compute integrals computed from the closest values for a list of points and output to a spatial vector postprocessor with one point per point' design = 'NearestPointIntegralVariablePostprocessor.md' issues = '#18931' - [../] + [] []