0.6.0
Loading...
Searching...
No Matches
mod_compute_norms::compute_norms Interface Reference

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

Public Member Functions

double precision function, dimension(3) compute_norms_cell (field, grid_volume)
 Compute the L1, L2, and Linf norms of a cell-centered field.
 
double precision function, dimension(3) compute_norms_face (field, grid_volume)
 Compute the L1, L2, and Linf norms of a face-centered field.
 

Detailed Description

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

Member Function/Subroutine Documentation

◆ compute_norms_cell()

double precision function, dimension(3) mod_compute_norms::compute_norms::compute_norms_cell ( double precision, dimension(:,:,:), intent(in) field,
double precision, dimension(:,:,:), intent(in) grid_volume )

Compute the L1, L2, and Linf norms of a cell-centered field.

Parameters
[in]fieldcell-centered field
[in]grid_volumevolume of the grid where field is defined
Returns
norms: array of L1, L2, and Linf norms.

◆ compute_norms_face()

double precision function, dimension(3) mod_compute_norms::compute_norms::compute_norms_face ( type(t_face_field), intent(in) field,
type(t_face_field), intent(in) grid_volume )

Compute the L1, L2, and Linf norms of a face-centered field.

Parameters
[in]fieldface-centered field
[in]grid_volumevolume of the grid where field is defined
Returns
norms: array of L1, L2, and Linf norms.

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