GRIDMAN
grid managment library
Functions/Subroutines
addsurf.f File Reference

Converters of EIRENE Additional Surfaces into GRIDMAN_GRID object. More...

Go to the source code of this file.

Functions/Subroutines

subroutine gridman_addsurf2grid_2d (GRID, NSURF, X, Y, ISRF, IERR)
 Convert planar EIRENE Additional Surfaces into grid object. More...
 
subroutine gridman_addsurf2d_read_grid (GRID, FNAME, IERR)
 Read planar EIRENE Additional Surfaces and convert them into (2D) grid object. More...
 
subroutine gridman_addsurf2grid_3d (GRID, NSURF, X, Y, Z, ISRF, IERR)
 Convert triangular elements (EIRENE additional surfaces) into (3D) grid object. More...
 
subroutine gridman_addsurf3d_read_grid (GRID, FNAME, IERR)
 Read triangular EIRENE Additional Surfaces and convert them into (3D) grid object. More...
 

Detailed Description

Converters of EIRENE Additional Surfaces into GRIDMAN_GRID object.

Definition in file addsurf.f.

Function/Subroutine Documentation

subroutine gridman_addsurf2grid_2d ( type(gridman_grid)  GRID,
integer(gridman_sp), intent(in)  NSURF,
real(gridman_dp), dimension(2,nsurf), intent(in)  X,
real(gridman_dp), dimension(2,nsurf), intent(in)  Y,
integer(gridman_sp), dimension(nsurf), intent(in)  ISRF,
integer, intent(out)  IERR 
)

Convert planar EIRENE Additional Surfaces into grid object.

WARNING: grid object which already exists will be overwritten!

1st edge index GRIDEDGEINDEX(1) contains indices of Additional Surfaces from the EIRENE input file

Parameters
gridResulting grid object
[in]nsurfNumber of edges
[in]xX-coordinates of the edge vertices
[in]yY-coordinates of the edge vertices
[in]isrfIndices of EIRENE additional surfaces
[out]ierrError code

Definition at line 31 of file addsurf.f.

References gridman::gridman_dp, gridman_grid2d_check(), gridman_grid_allocate(), gridman_grid_deallocate(), gridman_index_allocate(), and gridman::gridman_sp.

Referenced by gridman_addsurf2d_read_grid().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine gridman_addsurf2d_read_grid ( type(gridman_grid)  GRID,
character(*), intent(in)  FNAME,
integer, intent(out)  IERR 
)

Read planar EIRENE Additional Surfaces and convert them into (2D) grid object.

WARNING: grid object which already exists will be overwritten!

GRIDMAN_ADDSURF2D_READ_ARRAY and GRIDMAN_ADDSURF2D_READ_GRID are combined in the interface GRIDMAN_ADDSURF2D_READ

1st edge index GRIDEDGEINDEX(1) contains indices of Additional Surfaces from the EIRENE input file

Parameters
gridResulting grid object
[in]fnameString containing the name of input file
[out]ierrError code

Definition at line 128 of file addsurf.f.

References gridman_addsurf2d_read_array(), gridman_addsurf2grid_2d(), gridman::gridman_dp, and gridman::gridman_sp.

Here is the call graph for this function:

subroutine gridman_addsurf2grid_3d ( type(gridman_grid)  GRID,
integer(gridman_sp), intent(in)  NSURF,
real(gridman_dp), dimension(3,nsurf), intent(in)  X,
real(gridman_dp), dimension(3,nsurf), intent(in)  Y,
real(gridman_dp), dimension(3,nsurf), intent(in)  Z,
integer(gridman_sp), dimension(nsurf), intent(in)  ISRF,
integer, intent(out)  IERR 
)

Convert triangular elements (EIRENE additional surfaces) into (3D) grid object.

WARNING: grid object which already exists will be overwritten!

1st edge index GRIDEDGEINDEX(1) contains indices of Additional Surfaces from the EIRENE input file

Parameters
gridResulting grid object
[in]nsurfNumber of edges
[in]xX-coordinates of the triangle vertices
[in]yY-coordinates of the triangle vertices
[in]zZ-coordinates of the triangle vertices
[in]isrfIndices of EIRENE additional surfaces
[out]ierrError code

Definition at line 181 of file addsurf.f.

References gridman::gridman_dp, gridman_grid_allocate(), gridman_grid_check(), gridman_grid_deallocate(), gridman_index_allocate(), and gridman::gridman_sp.

Referenced by gridman_addsurf3d_read_grid().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine gridman_addsurf3d_read_grid ( type(gridman_grid)  GRID,
character(*), intent(in)  FNAME,
integer, intent(out)  IERR 
)

Read triangular EIRENE Additional Surfaces and convert them into (3D) grid object.

WARNING: grid object which already exists will be overwritten!

GRIDMAN_ADDSURF3D_READ_ARRAY and GRIDMAN_ADDSURF3D_READ_GRID are combined in the interface GRIDMAN_ADDSURF3D_READ

1st edge index GRIDEDGEINDEX(1) contains indices of Additional Surfaces from the EIRENE input file

Parameters
gridResulting grid object
[in]fnameString containing the name of input file
[out]ierrError code

Definition at line 284 of file addsurf.f.

References gridman_addsurf2grid_3d(), gridman_addsurf3d_read_array(), gridman::gridman_dp, and gridman::gridman_sp.

Here is the call graph for this function: