IGMBaseLib 1.0
|
This module provides some subroutines which calculate coordinate data of icosahedral gridpoints and control volumes. More...
Functions/Subroutines | |
subroutine, public | construct_STDGrid (icgrid) |
Constructs the STD-grid. | |
subroutine, public | calc_STDGrid_GP_vertex (icgrid) |
Calculates the coordinate data of STD-Grid grid points. | |
subroutine, public | calc_CV_vertex (icgrid) |
Calculates the vertex coordinate of control volumes surrounding eqch grid point of icosahedral grid. | |
subroutine, public | calc_CV_Area (icgrid) |
Calculates the area of the control volumes surrounding each grid point of icosahedral grid. | |
recursive subroutine | split_rectangle_region (rc_AGrid, ic_radius, row1, row2, col1, col2) |
ある矩形領域を 4 分割し, 新しく生成された 5 個の格子点の座標を計算する. | |
subroutine, public | project_on_sphere (radius, vec) |
矩形領域の平面上にある一点を原点に対して球面上へ射影する. | |
real(DP), dimension(3) | calc_each_CV_vertex (rc_AGrid, GP3_index, ic_radius, idMin) |
Calculates the vertex coordinate of one of control volume vertecies. |
This module provides some subroutines which calculate coordinate data of icosahedral gridpoints and control volumes.
Copyright (C) GFD Dennou Club, 2011-2012. All rights reserved.
license ??
subroutine,public STDGrid_Builder::calc_CV_Area | ( | type(IcGrid2D_FVM),intent(inout) | icgrid | ) |
Calculates the area of the control volumes surrounding each grid point of icosahedral grid.
求めたコントロールボリュームの面積は, 引数で指定された構造体 IcGrid2D_FVM の成分 rcs_CVArea に保存される.
[in,out] | icgrid | The variable of derived type IcGrid2D_FVM. |
Definition at line 314 of file STDGrid_Builder.f90.
subroutine,public STDGrid_Builder::calc_CV_vertex | ( | type(IcGrid2D_FVM),intent(inout) | icgrid | ) |
Calculates the vertex coordinate of control volumes surrounding eqch grid point of icosahedral grid.
求めたコントロールボリュームの頂点座標は, 引数で指定された構造体 IcGrid2D_FVM の成分 rcs_CV に保存される.
[in,out] | icgrid | The variable of derived type IcGrid2D_FVM. |
Definition at line 217 of file STDGrid_Builder.f90.
real(DP),dimension(3) STDGrid_Builder::calc_each_CV_vertex | ( | real(DP),dimension(idmin:,idmin:,:),intent(in) | rc_AGrid, |
integer,dimension(:,:),intent(in) | GP3_index, | ||
real(DP),intent(in) | ic_radius, | ||
integer,intent(in) | idMin | ||
) | [private] |
Calculates the vertex coordinate of one of control volume vertecies.
[in] | idMin | The lower bound first (or second) index of the array rc_AGrid. |
[in] | rc_AGrid | The array containg the position vectors data of grid-point in a rectangle region where there is the target control volume. |
[in] | GP3_index | The array containg the information about the indecies of the array which correspond to the grid-points necessary for calculating a vertex of the control volume. |
[in] | ic_radius | The radius of a sphere which an icosahedron is embedded into. |
Definition at line 499 of file STDGrid_Builder.f90.
subroutine,public STDGrid_Builder::calc_STDGrid_GP_vertex | ( | type(IcGrid2D_FVM),intent(inout) | icgrid | ) |
Calculates the coordinate data of STD-Grid grid points.
求めた格子点座標は, 引数で指定された構造体 IcGrid2D_FVM の成分 rcs_AGrid に保存される.
[in,out] | icgrid | The variable of derived type IcGrid2D_FVM. |
Definition at line 133 of file STDGrid_Builder.f90.
subroutine,public STDGrid_Builder::construct_STDGrid | ( | type(IcGrid2D_FVM),intent(inout) | icgrid | ) |
Constructs the STD-grid.
[in,out] | icgrid | The variable of derived type IcGrid2D_FVM. |
Definition at line 103 of file STDGrid_Builder.f90.
subroutine,public STDGrid_Builder::project_on_sphere | ( | real(8),intent(in) | radius, |
real(8),dimension(3),intent(inout) | vec | ||
) |
矩形領域の平面上にある一点を原点に対して球面上へ射影する.
[in] | radius | The radius of a sphere which an icosahedron is embedded into. |
[in,out] | vec | 球面に射影する点の位置ベクトル. その結果は vec に代入される. |
Definition at line 463 of file STDGrid_Builder.f90.
recursive subroutine STDGrid_Builder::split_rectangle_region | ( | real(DP),dimension(:,:,:),intent(inout) | rc_AGrid, |
real(DP),intent(in) | ic_radius, | ||
integer,intent(in) | row1, | ||
integer,intent(in) | row2, | ||
integer,intent(in) | col1, | ||
integer,intent(in) | col2 | ||
) | [private] |
ある矩形領域を 4 分割し, 新しく生成された 5 個の格子点の座標を計算する.
[in,out] | rc_AGrid | The array containing the position vectors of grid-points in the target rectangle region. |
[in] | ic_radius | The radius of a sphere which an icosahedron is embedded into. |
[in] | row1 | |
[in] | row2 | |
[in] | col1 | |
[in] | col2 |
Definition at line 398 of file STDGrid_Builder.f90.