IGModel-SW 1.0
|
This module provides some subroutines to perform the analysis for the conservative quantities of a system. More...
Functions/Subroutines | |
subroutine, public | init_conservation_analysis (init_h, hs) |
Initializes the conservation_analysis module. | |
real(DP), public | calc_total_energy (h, hs, v) |
Calculates the total energy (normalized by the total surface area of icosahedral grid) in a system. | |
real(DP), public | calc_potential_enstrophy (h, hs, v, f, diff_eval) |
Calculates the potential energy (normalized by the total surface area of icosahedral grid) in a system. | |
Variables | |
real(DP) | Ep0 |
The potential energy in the initial state. |
This module provides some subroutines to perform the analysis for the conservative quantities of a system.
Copyright (C) GFD Dennou Club, 2011-2012. All rights reserved.
license ??
real(DP),public conservation_analysis::calc_potential_enstrophy | ( | type(Field_IcGrid2D),intent(in) | h, |
type(Field_IcGrid2D),intent(in) | hs, | ||
type(Field_IcGrid2D),intent(in) | v, | ||
type(Field_IcGrid2D),intent(in) | f, | ||
type(Derivate_Field_IcGrid2D),intent(inout) | diff_eval | ||
) |
Calculates the potential energy (normalized by the total surface area of icosahedral grid) in a system.
[in] | h | The variable of derived type Field_IcGrid2D which manages initial height field of fluid surface. |
[in] | hs | The variable of derived type Field_IcGrid2D which manages the height field of underlying mountain. |
[in] | v | The variable of derived type Field_IcGrid2D which manages the velocity field. |
[in] | f | The variable of derived type Field_IcGrid2D which manages the planetary vorticity field. |
[in,out] | diff_eval | The variable of derived type IcGridHDiffOptr which manages some data for the differential operators acting on a physical field on icosahedral grid. |
Definition at line 213 of file conservation_analysis.f90.
real(DP),public conservation_analysis::calc_total_energy | ( | type(Field_IcGrid2D),intent(in) | h, |
type(Field_IcGrid2D),intent(in) | hs, | ||
type(Field_IcGrid2D),intent(in) | v | ||
) |
Calculates the total energy (normalized by the total surface area of icosahedral grid) in a system.
[in] | h | The variable of derived type Field_IcGrid2D which manages initial height field of fluid surface. |
[in] | hs | The variable of derived type Field_IcGrid2D which manages the height field of underlying mountain. |
[in] | v | The variable of derived type Field_IcGrid2D which manages the velocity field. |
Definition at line 154 of file conservation_analysis.f90.
subroutine,public conservation_analysis::init_conservation_analysis | ( | type(Field_IcGrid2D),intent(in) | init_h, |
type(Field_IcGrid2D),intent(in) | hs | ||
) |
Initializes the conservation_analysis module.
基準となるポテンシャルエネルギーを決定するために, 初期のポテンシャルエネルギーを計算する.
[in] | init_h | The variable of derived type Field_IcGrid2D which manages the initial height field of fluid surface. |
[in] | hs | The variable of derived type Field_IcGrid2D which manages the initial height field of underlying mountain. |
Definition at line 100 of file conservation_analysis.f90.
real(DP) conservation_analysis::Ep0 |
The potential energy in the initial state.
Definition at line 79 of file conservation_analysis.f90.