IGMBaseLib 1.0
|
This module provides some subroutines to evaluate the error for numerical methods. More...
Functions/Subroutines | |
real(DP), public | numerical_error_norm1 (true_field, num_field) |
Calculates the error norm 1 for the numerical solution using exact solution. | |
real(DP), public | numerical_error_norm2 (true_field, num_field) |
Calculates the error norm 2 for the numerical solution using exact solution. | |
real(DP), public | numerical_error_norminfinity (true_field, num_field, maxmin_info_flag) |
Calculates the error norm 3 for the numerical solution using exact solution. |
This module provides some subroutines to evaluate the error for numerical methods.
Copyright (C) GFD Dennou Club, 2011-2012. All rights reserved.
license ??
real(DP),public Field_IcGrid2D_error_norm_check::numerical_error_norm1 | ( | type(Field_IcGrid2D),intent(in) | true_field, |
type(Field_IcGrid2D),intent(in) | num_field | ||
) |
Calculates the error norm 1 for the numerical solution using exact solution.
[in] | true_field | The variable of derived type IcGrid Field which manages the exaact solution of a given field. |
[in] | num_field | The variable of derived type IcGrid Field which manages the numerical solution of a given field. |
Definition at line 76 of file Field_IcGrid2D_error_norm_check.f90.
real(DP),public Field_IcGrid2D_error_norm_check::numerical_error_norm2 | ( | type(Field_IcGrid2D),intent(in) | true_field, |
type(Field_IcGrid2D),intent(in) | num_field | ||
) |
Calculates the error norm 2 for the numerical solution using exact solution.
[in] | true_field | The variable of derived type IcGrid Field which manages the exaact solution of a given field. |
[in] | num_field | The variable of derived type IcGrid Field which manages the numerical solution of a given field. |
Definition at line 119 of file Field_IcGrid2D_error_norm_check.f90.
real(DP),public Field_IcGrid2D_error_norm_check::numerical_error_norminfinity | ( | type(Field_IcGrid2D),intent(in) | true_field, |
type(Field_IcGrid2D),intent(in) | num_field, | ||
logical,intent(in),optional | maxmin_info_flag | ||
) |
Calculates the error norm 3 for the numerical solution using exact solution.
[in] | true_field | The variable of derived type IcGrid Field which manages the exaact solution of a given field. |
[in] | num_field | The variable of derived type IcGrid Field which manages the numerical solution of a given field. |
[in] | maxmin_info_flag | The flag indicating whether one needs the information about the location where the local difference with exact and numerical solution is maximum or minimum. The default flag value is false. |
Definition at line 166 of file Field_IcGrid2D_error_norm_check.f90.