The TELEMAC-MASCARET system  trunk
Data Types | Functions/Subroutines | Variables
utils_vtk Module Reference

Data Types

type  vtk_info
 

Functions/Subroutines

subroutine number2string (RES, VAL)
 
subroutine open_mesh_vtk (FILE_NAME, FILE_ID, OPEN_MODE, IERR)
 
subroutine close_mesh_vtk (FILE_ID, IERR)
 
subroutine set_header_vtk (FILE_ID, TITLE, NVAR, IERR)
 
subroutine set_mesh_vtk (FILE_ID, NB_DIM_MESH, TYPE_ELEM, NDP, NELEM, NPOIN, IKLE, X, Y, IERR)
 
subroutine add_data_vtk (FILE_ID, VAR_NAME, RECORD, FIRST_VAR, VAR_VALUE, N, IERR)
 

Variables

integer nfiles = 0
 
integer, dimension(max_file) hash = 0
 
type(vtk_info), dimension(max_file) vtk_obj_tab
 

Function/Subroutine Documentation

◆ add_data_vtk()

subroutine utils_vtk::add_data_vtk ( integer, intent(in)  FILE_ID,
character(len=32), intent(in)  VAR_NAME,
integer, intent(in)  RECORD,
logical, intent(in)  FIRST_VAR,
double precision, dimension(n), intent(in)  VAR_VALUE,
integer, intent(in)  N,
integer, intent(out)  IERR 
)
Parameters
[in]file_id[out] FILE_ID Vtk file descriptor
[out]VAR_NAMEName of the data
[out]RECORDIteration number
[out]FIRST_VARTrue if first variable
[out]VAR_VALUETable of variable values
[out]NNumber of elements
[in]IERRError tag
[in]n[out] FILE_ID Vtk file descriptor
[out]VAR_NAMEName of the data
[out]RECORDIteration number
[out]FIRST_VARTrue if first variable
[out]VAR_VALUETable of variable values
[out]NNumber of elements
[in]IERRError tag

Definition at line 375 of file utils_vtk.F.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ close_mesh_vtk()

subroutine utils_vtk::close_mesh_vtk ( integer, intent(in)  FILE_ID,
integer, intent(out)  IERR 
)
Parameters
[in]file_id[out] FILE_ID Vtk file descriptor
[in]IERRError tag

Definition at line 162 of file utils_vtk.F.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ number2string()

subroutine utils_vtk::number2string ( character(len=8), intent(out)  RES,
integer, intent(in)  VAL 
)
Parameters
[in]valRES Output string
[out]VALInteger to convert

Definition at line 59 of file utils_vtk.F.

+ Here is the caller graph for this function:

◆ open_mesh_vtk()

subroutine utils_vtk::open_mesh_vtk ( character(len=*), intent(in)  FILE_NAME,
integer, intent(out)  FILE_ID,
character(len=9), intent(in)  OPEN_MODE,
integer, intent(out)  IERR 
)
Parameters
[in]file_name[out] FILE_NAME Name of the vtk file
[out]FILE_IDVtk file descriptor
[out]OPEN_MODEOpening mode (read/readwrite/write)
[in]IERRError tag

Definition at line 96 of file utils_vtk.F.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_header_vtk()

subroutine utils_vtk::set_header_vtk ( integer, intent(in)  FILE_ID,
character(len=80), intent(in)  TITLE,
integer, intent(in)  NVAR,
integer, intent(out)  IERR 
)
Parameters
[in]file_id[out] FILE_ID Vtk file descriptor
[out]TITLETitle of the mesh
[out]NVARNumber of variable
[in]IERRError tag

Definition at line 216 of file utils_vtk.F.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_mesh_vtk()

subroutine utils_vtk::set_mesh_vtk ( integer, intent(in)  FILE_ID,
integer, intent(in)  NB_DIM_MESH,
integer, intent(in)  TYPE_ELEM,
integer, intent(in)  NDP,
integer, intent(in)  NELEM,
integer, intent(in)  NPOIN,
integer, dimension(ndp*nelem), intent(in)  IKLE,
double precision, dimension(npoin), intent(in)  X,
double precision, dimension(npoin), intent(in)  Y,
integer, intent(out)  IERR 
)
Parameters
[in]file_id[out] FILE_ID Vtk file descriptor
[out]NB_DIM_PBNumber of dimension of the physical domain
[out]NB_DIM_MESHNumber of dimension of the mesh
[out]TYPE_ELEMType of the element in slf format
[out]NDPNumber of points per element
[out]NPTFRNumber of boundary nodes
[out]NPTIRNumber of interface nodes for the sub-domain
[out]NELEMTotal number of elements
[out]NPOINTotal number of nodes
[out]IKLEConnectivity table
[out]IPOBOLogical table for boundary nodes
[out]KNOLGNodes index table from local to global
[out]XX coordinates of the nodes
[out]YY coordinates of the nodes
[out]NPLANNumber of planes
[in]IERRError tag
[in]nb_dim_mesh[out] FILE_ID Vtk file descriptor
[out]NB_DIM_PBNumber of dimension of the physical domain
[out]NB_DIM_MESHNumber of dimension of the mesh
[out]TYPE_ELEMType of the element in slf format
[out]NDPNumber of points per element
[out]NPTFRNumber of boundary nodes
[out]NPTIRNumber of interface nodes for the sub-domain
[out]NELEMTotal number of elements
[out]NPOINTotal number of nodes
[out]IKLEConnectivity table
[out]IPOBOLogical table for boundary nodes
[out]KNOLGNodes index table from local to global
[out]XX coordinates of the nodes
[out]YY coordinates of the nodes
[out]NPLANNumber of planes
[in]IERRError tag

Definition at line 261 of file utils_vtk.F.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ hash

integer, dimension(max_file) utils_vtk::hash = 0

Definition at line 46 of file utils_vtk.F.

◆ nfiles

integer utils_vtk::nfiles = 0

Definition at line 43 of file utils_vtk.F.

◆ vtk_obj_tab

type(vtk_info), dimension(max_file) utils_vtk::vtk_obj_tab

Definition at line 48 of file utils_vtk.F.