IGMBaseLib 1.0
Functions/Subroutines

STDGrid_Builder Module Reference

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.

Detailed Description

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

Author:
Yuta Kawai

Function/Subroutine Documentation

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 に保存される.

Parameters:
[in,out]icgridThe 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 に保存される.

Parameters:
[in,out]icgridThe 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.

Parameters:
[in]idMinThe lower bound first (or second) index of the array rc_AGrid.
[in]rc_AGridThe array containg the position vectors data of grid-point in a rectangle region where there is the target control volume.
[in]GP3_indexThe 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_radiusThe radius of a sphere which an icosahedron is embedded into.
Returns:
The array containg the information about a position vector of a vertex of the control volume.

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 に保存される.

Parameters:
[in,out]icgridThe 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.

Parameters:
[in,out]icgridThe 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 
)

矩形領域の平面上にある一点を原点に対して球面上へ射影する.

Parameters:
[in]radiusThe 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 個の格子点の座標を計算する.

Parameters:
[in,out]rc_AGridThe array containing the position vectors of grid-points in the target rectangle region.
[in]ic_radiusThe 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.

 All Classes Namespaces Files Functions Variables