version 0.6.0
Loading...
Searching...
No Matches
mod_compute_error::compute_and_print_error Interface Reference

Compute and print the error of a field defined on cells or faces.

Public Member Functions

subroutine compute_and_print_error_cell (label, field, reference_field, grid_volume, is_relative_error, mask)
 Compute and print the error of a field defined on cells with respect to a reference field.
 
subroutine compute_and_print_error_face (label, field, reference_field, grid_volume, is_relative_error, mask)
 Compute and print the error of a field defined on faces with respect to a reference field.
 

Member Function/Subroutine Documentation

◆ compute_and_print_error_cell()

subroutine mod_compute_error::compute_and_print_error::compute_and_print_error_cell ( character(len=*), intent(in) label,
double precision, dimension(:,:,:), intent(in) field,
double precision, dimension(:,:,:), intent(in) reference_field,
double precision, dimension(:,:,:), intent(in) grid_volume,
logical, intent(in) is_relative_error,
logical, dimension(:,:,:), intent(in), optional mask )

See compute_error_cell.

Parameters
[in]labellabel of the field
[in]fieldcell-centered field
[in]reference_fieldcell-centered field
[in]grid_volumevolume of the grid where field is defined
[in]is_relative_errorboolean to compute relative or absolute error
[in]maskrestrict the sum where mask is .true.

◆ compute_and_print_error_face()

subroutine mod_compute_error::compute_and_print_error::compute_and_print_error_face ( character(len=*), intent(in) label,
type(t_face_field), intent(in) field,
type(t_face_field), intent(in) reference_field,
type(t_face_field), intent(in) grid_volume,
logical, intent(in) is_relative_error,
type(t_logical_face_field), intent(in), optional mask )

See compute_error_face.

Parameters
[in]labellabel of the field
[in]fieldface-centered field
[in]reference_fieldface-centered field
[in]grid_volumevolume of the grid where field is defined
[in]is_relative_errorboolean to compute relative or absolute error
[in]maskrestrict the sum where mask is .true.

The documentation for this interface was generated from the following file: