IGMBaseLib 1.0
Functions/Subroutines

Field_IcGrid2D_error_norm_check Module Reference

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.

Detailed Description

This module provides some subroutines to evaluate the error for numerical methods.

About Field_IcGrid2D_error_norm_check module



Copyright (C) GFD Dennou Club, 2011-2012. All rights reserved.
license ??

Author:
Yuta Kawai

Function/Subroutine Documentation

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.

Parameters:
[in]true_fieldThe variable of derived type IcGrid Field which manages the exaact solution of a given field.
[in]num_fieldThe variable of derived type IcGrid Field which manages the numerical solution of a given field.
Returns:
normVal Error norm 1.

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.

Parameters:
[in]true_fieldThe variable of derived type IcGrid Field which manages the exaact solution of a given field.
[in]num_fieldThe variable of derived type IcGrid Field which manages the numerical solution of a given field.
Returns:
normVal Error norm 2.

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.

Parameters:
[in]true_fieldThe variable of derived type IcGrid Field which manages the exaact solution of a given field.
[in]num_fieldThe variable of derived type IcGrid Field which manages the numerical solution of a given field.
[in]maxmin_info_flagThe 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.
Returns:
normVal Error norm 3.

Definition at line 166 of file Field_IcGrid2D_error_norm_check.f90.

 All Classes Namespaces Files Functions Variables