IGModel-SW 1.0

conservation_analysis Module Reference

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.

Detailed Description

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 ??

Author:
Yuta Kawai

Function/Subroutine Documentation

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.

Parameters:
[in]hThe variable of derived type Field_IcGrid2D which manages initial height field of fluid surface.
[in]hsThe variable of derived type Field_IcGrid2D which manages the height field of underlying mountain.
[in]vThe variable of derived type Field_IcGrid2D which manages the velocity field.
[in]fThe variable of derived type Field_IcGrid2D which manages the planetary vorticity field.
[in,out]diff_evalThe 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.

Here is the caller graph for this function:

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.

Parameters:
[in]hThe variable of derived type Field_IcGrid2D which manages initial height field of fluid surface.
[in]hsThe variable of derived type Field_IcGrid2D which manages the height field of underlying mountain.
[in]vThe variable of derived type Field_IcGrid2D which manages the velocity field.

Definition at line 154 of file conservation_analysis.f90.

Here is the caller graph for this function:

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.

基準となるポテンシャルエネルギーを決定するために, 初期のポテンシャルエネルギーを計算する.

Parameters:
[in]init_hThe variable of derived type Field_IcGrid2D which manages the initial height field of fluid surface.
[in]hsThe variable of derived type Field_IcGrid2D which manages the initial height field of underlying mountain.

Definition at line 100 of file conservation_analysis.f90.

Here is the caller graph for this function:


Variable Documentation

The potential energy in the initial state.

Definition at line 79 of file conservation_analysis.f90.

 All Classes Namespaces Files Functions Variables