Skip to content

Lib_VTK_IO_GEO_XML

GEO_XML interface definition for Lib_VTK_IO.

Source: src/third_party/VTKFortran/references/legacy/Lib_VTK_IO_GEO_XML.f90

Dependencies

Contents

Interfaces

VTK_GEO_XML_WRITE

Export (write) mesh with different topologies in VTK-XML standard.

VTK_GEO_XML is an interface to 15 different functions; there are 2 functions for each of 3 topologies supported and a function for closing XML pieces: one function for mesh coordinates with R8P precision and one for mesh coordinates with R4P precision. 1D/3D-rank arrays and packed API for any kinds

  • For StructuredGrid there are 4 functions for each real kinds:
    • inputs are 1D-rank arrays: X[1:NN],Y[1:NN],Z[1:NN];
    • inputs are 3D-rank arrays: X[nx1:nx2,ny1:ny2,nz1:nz2],Y[nx1:nx2,ny1:ny2,nz1:nz2],Z[nx1:nx2,ny1:ny2,nz1:nz2];
    • input is 1D-rank array (packed API): XYZ[1:3,1:NN];
    • input is 3D-rank array (packed API): XYZ[1:3,nx1:nx2,ny1:ny2,nz1:nz2].
  • For UnStructuredGrid there are 2 functions for each real kinds:
    • inputs are 1D arrays: X[1:NN],Y[1:NN],Z[1:NN];
    • input is 1D array (packed API): XYZ[1:3,1:NN].

VTK_GEO_XML must be called after VTK_INI_XML. It saves the mesh geometry. The inputs that must be passed change depending on the topologies chosen. Not all VTK topologies have been implemented (polydata topologies are absent).

@note The XML standard is more powerful than legacy. XML file can contain more than 1 mesh with its associated variables. Thus there is the necessity to close each pieces that compose the data-set saved in the XML file. The VTK_GEO_XML called in the close piece format is used just to close the current piece before saving another piece or closing the file.

Examples of usage

Structured grid calling

fortran
 integer(I4P):: nx1,nx2,ny1,ny2,nz1,nz2,NN
 real(R8P)::    X(1:NN),Y(1:NN),Z(1:NN)
 ...
 E_IO=VTK_GEO_XML(nx1,nx2,ny1,ny2,nz1,nz2,Nn,X,Y,Z)

Rectilinear grid calling

fortran
 integer(I4P):: nx1,nx2,ny1,ny2,nz1,nz2
 real(R8P)::    X(nx1:nx2),Y(ny1:ny2),Z(nz1:nz2)
 ...
 E_IO=VTK_GEO_XML(nx1,nx2,ny1,ny2,nz1,nz2,X,Y,Z)

Unstructured grid calling

fortran
 integer(I4P):: Nn,Nc
 real(R8P)::    X(1:Nn),Y(1:Nn),Z(1:Nn)
 ...
 E_IO=VTK_GEO_XML(Nn,Nc,X,Y,Z)

Closing piece calling

fortran
 E_IO=VTK_GEO_XML()

Module procedures: VTK_GEO_XML_STRG_1DA_R8_WRITE, VTK_GEO_XML_STRG_3DA_R8_WRITE, VTK_GEO_XML_STRG_1DAP_R8_WRITE, VTK_GEO_XML_STRG_3DAP_R8_WRITE, VTK_GEO_XML_STRG_1DA_R4_WRITE, VTK_GEO_XML_STRG_3DA_R4_WRITE, VTK_GEO_XML_STRG_1DAP_R4_WRITE, VTK_GEO_XML_STRG_3DAP_R4_WRITE, VTK_GEO_XML_RECT_R8_WRITE, VTK_GEO_XML_RECT_R4_WRITE, VTK_GEO_XML_UNST_R8_WRITE, VTK_GEO_XML_UNST_PACK_R4_WRITE, VTK_GEO_XML_UNST_R4_WRITE, VTK_GEO_XML_UNST_PACK_R8_WRITE, VTK_GEO_XML_CLOSEP_WRITE

VTK_GEO_XML_READ

Import (read) mesh with different topologies in VTK-XML standard.

VTK_GEO_XML_READ is an interface to 14 different functions; there are 2 functions for each of 3 topologies supported and a function for closing XML pieces: one function for mesh coordinates with R8P (Ok!) precision and one for mesh coordinates with R4P (Not tested!) precision. 1D/3D-rank arrays and packed API for ascii and raw data, binary is not implemented yet!

  • For StructuredGrid there are 4 functions for each real kinds:
    • inputs are 1D-rank arrays: X[1:NN],Y[1:NN],Z[1:NN]; (Not tested!)
    • inputs are 3D-rank arrays: X[nx1:nx2,ny1:ny2,nz1:nz2],Y[nx1:nx2,ny1:ny2,nz1:nz2],Z[nx1:nx2,ny1:ny2,nz1:nz2]; (Not tested!)
    • input is 1D-rank array (packed API): XYZ[1:3,1:NN]; (Not tested!)
    • input is 3D-rank array (packed API): XYZ[1:3,nx1:nx2,ny1:ny2,nz1:nz2]. (Not tested!)
  • For UnStructuredGrid there are 2 functions for each real kinds:
    • inputs are 1D arrays: X[1:NN],Y[1:NN],Z[1:NN]; (Ok!)
    • input is 1D array (packed API): XYZ[1:3,1:NN]. (Not tested!)

VTK_GEO_XML_READ must be called after VTK_INI_XML_READ. It reads the mesh geometry. The inputs that must be passed change depending on the topologies chosen. Not all VTK topologies have been implemented (polydata topologies are absent).

@note The XML standard is more powerful than legacy. XML file can contain more than 1 mesh with its associated variables. Thus there is the necessity to close each pieces that compose the data-set saved in the XML file. The VTK_GEO_XML_READ uses the close piece format is used just to close the current piece before saving another piece or closing the file.

Examples of usage

Module procedures: VTK_GEO_XML_STRG_1DA_R8_READ, VTK_GEO_XML_STRG_3DA_R8_READ, VTK_GEO_XML_STRG_1DAP_R8_READ, VTK_GEO_XML_STRG_3DAP_R8_READ, VTK_GEO_XML_STRG_1DA_R4_READ, VTK_GEO_XML_STRG_3DA_R4_READ, VTK_GEO_XML_STRG_1DAP_R4_READ, VTK_GEO_XML_STRG_3DAP_R4_READ, VTK_GEO_XML_RECT_R8_READ, VTK_GEO_XML_RECT_R4_READ, VTK_GEO_XML_UNST_R8_READ, VTK_GEO_XML_UNST_PACK_R4_READ, VTK_GEO_XML_UNST_R4_READ, VTK_GEO_XML_UNST_PACK_R8_READ

Functions

VTK_GEO_XML_STRG_1DA_R8_WRITE

Function for saving mesh with \b StructuredGrid topology (R8P, 1D Arrays).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DA_R8_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
Xreal(kind=R8P)inX coordinates [1:NN].
Yreal(kind=R8P)inY coordinates [1:NN].
Zreal(kind=R8P)inZ coordinates [1:NN].
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DA_R8_WRITE

Function for saving mesh with \b StructuredGrid topology (R8P, 3D Arrays).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DA_R8_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
Xreal(kind=R8P)inX coordinates [nx1:nx2,ny1:ny2,nz1:nz2].
Yreal(kind=R8P)inY coordinates [nx1:nx2,ny1:ny2,nz1:nz2].
Zreal(kind=R8P)inZ coordinates [nx1:nx2,ny1:ny2,nz1:nz2].
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_1DAP_R8_WRITE

Function for saving mesh with \b StructuredGrid topology (R8P, 1D Arrays, packed API).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DAP_R8_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
XYZreal(kind=R8P)inX, Y, Z coordinates (packed API) [1:3,1:NN].
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DAP_R8_WRITE

Function for saving mesh with \b StructuredGrid topology (R8P, 3D Arrays, packed API).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DAP_R8_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
XYZreal(kind=R8P)inX, Y, Z coordinates (packed API).
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_1DA_R4_WRITE

Function for saving mesh with \b StructuredGrid topology (R4P, 1D Arrays).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DA_R4_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
Xreal(kind=R4P)inX coordinates [1:NN].
Yreal(kind=R4P)inY coordinates [1:NN].
Zreal(kind=R4P)inZ coordinates [1:NN].
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DA_R4_WRITE

Function for saving mesh with \b StructuredGrid topology (R4P, 3D Arrays).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DA_R4_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
Xreal(kind=R4P)inX coordinates [nx1:nx2,ny1:ny2,nz1:nz2].
Yreal(kind=R4P)inY coordinates [nx1:nx2,ny1:ny2,nz1:nz2].
Zreal(kind=R4P)inZ coordinates [nx1:nx2,ny1:ny2,nz1:nz2].
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_1DAP_R4_WRITE

Function for saving mesh with \b StructuredGrid topology (R4P, 1D Arrays, packed API).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DAP_R4_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
XYZreal(kind=R4P)inX, Y, Z coordinates (packed API) [1:3,1:NN].
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DAP_R4_WRITE

Function for saving mesh with \b StructuredGrid topology (R4P, 3D Arrays, packed API).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DAP_R4_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
NNinteger(kind=I4P)inNumber of all nodes.
XYZreal(kind=R4P)inX, Y, Z coordinates (packed API) [1:3,nx1:nx2,ny1:ny2,nz1:nz2].
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_RECT_R8_WRITE

Function for saving mesh with \b RectilinearGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_RECT_R8_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
Xreal(kind=R8P)inX coordinates.
Yreal(kind=R8P)inY coordinates.
Zreal(kind=R8P)inZ coordinates.
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_RECT_R4_WRITE

Function for saving mesh with \b RectilinearGrid topology (R4P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_RECT_R4_WRITE(nx1, nx2, ny1, ny2, nz1, nz2, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)inInitial node of x axis.
nx2integer(kind=I4P)inFinal node of x axis.
ny1integer(kind=I4P)inInitial node of y axis.
ny2integer(kind=I4P)inFinal node of y axis.
nz1integer(kind=I4P)inInitial node of z axis.
nz2integer(kind=I4P)inFinal node of z axis.
Xreal(kind=R4P)inX coordinates.
Yreal(kind=R4P)inY coordinates.
Zreal(kind=R4P)inZ coordinates.
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_R8_WRITE

Function for saving mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_R8_WRITE(NN, NC, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)inNumber of nodes.
NCinteger(kind=I4P)inNumber of cells.
Xreal(kind=R8P)inX coordinates.
Yreal(kind=R8P)inY coordinates.
Zreal(kind=R8P)inZ coordinates.
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_PACK_R8_WRITE

Function for saving mesh with \b UnstructuredGrid topology (R8P, packed API).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_PACK_R8_WRITE(NN, NC, XYZ, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)inNumber of nodes.
NCinteger(kind=I4P)inNumber of cells.
XYZreal(kind=R8P)inX, Y, Z coordinates (packed API).
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_R4_WRITE

Function for saving mesh with \b UnstructuredGrid topology (R4P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_R4_WRITE(NN, NC, X, Y, Z, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)inNumber of nodes.
NCinteger(kind=I4P)inNumber of cells.
Xreal(kind=R4P)inX coordinates.
Yreal(kind=R4P)inY coordinates.
Zreal(kind=R4P)inZ coordinates.
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_PACK_R4_WRITE

Function for saving mesh with \b UnstructuredGrid topology (R4P, packed API).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_PACK_R4_WRITE(NN, NC, XYZ, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)inNumber of nodes.
NCinteger(kind=I4P)inNumber of cells.
XYZreal(kind=R4P)inX, Y, Z coordinates (packed API).
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_CLOSEP_WRITE

Function for closing mesh block data.

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_CLOSEP_WRITE(cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

VTK_GEO_XML_STRG_1DA_R8_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DA_R8_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
Xreal(kind=R8P)outallocatablex coordinates
Yreal(kind=R8P)outallocatabley coordinates
Zreal(kind=R8P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DA_R8_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DA_R8_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
Xreal(kind=R8P)outallocatablex coordinates
Yreal(kind=R8P)outallocatabley coordinates
Zreal(kind=R8P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_1DAP_R8_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DAP_R8_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
XYZreal(kind=R8P)outallocatablex coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DAP_R8_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DAP_R8_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
XYZreal(kind=R8P)outallocatablex coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_1DA_R4_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DA_R4_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
Xreal(kind=R4P)outallocatablex coordinates
Yreal(kind=R4P)outallocatabley coordinates
Zreal(kind=R4P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DA_R4_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DA_R4_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
Xreal(kind=R4P)outallocatablex coordinates
Yreal(kind=R4P)outallocatabley coordinates
Zreal(kind=R4P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_1DAP_R4_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_1DAP_R4_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
XYZreal(kind=R4P)outallocatablex coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_STRG_3DAP_R4_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_STRG_3DAP_R4_READ(nx1, nx2, ny1, ny2, nz1, nz2, NN, XYZ, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
NNinteger(kind=I4P)outNumber of nodes
XYZreal(kind=R4P)outallocatablex coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_RECT_R8_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_RECT_R8_READ(nx1, nx2, ny1, ny2, nz1, nz2, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
Xreal(kind=R8P)outallocatablex coordinates
Yreal(kind=R8P)outallocatabley coordinates
Zreal(kind=R8P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_RECT_R4_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_RECT_R4_READ(nx1, nx2, ny1, ny2, nz1, nz2, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
nx1integer(kind=I4P)outInitial node of x axis.
nx2integer(kind=I4P)outFinal node of x axis.
ny1integer(kind=I4P)outInitial node of y axis.
ny2integer(kind=I4P)outFinal node of y axis.
nz1integer(kind=I4P)outInitial node of z axis.
nz2integer(kind=I4P)outFinal node of z axis.
Xreal(kind=R4P)outallocatablex coordinates
Yreal(kind=R4P)outallocatabley coordinates
Zreal(kind=R4P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_R8_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_R8_READ(NN, NC, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)outnumber of nodes
NCinteger(kind=I4P)outnumber of cells
Xreal(kind=R8P)outallocatablex coordinates
Yreal(kind=R8P)outallocatabley coordinates
Zreal(kind=R8P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_PACK_R8_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_PACK_R8_READ(NN, NC, XYZ, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)outnumber of nodes
NCinteger(kind=I4P)outnumber of cells
XYZreal(kind=R8P)outallocatableCoordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_R4_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_R4_READ(NN, NC, X, Y, Z, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)outnumber of nodes
NCinteger(kind=I4P)outnumber of cells
Xreal(kind=R4P)outallocatablex coordinates
Yreal(kind=R4P)outallocatabley coordinates
Zreal(kind=R4P)outallocatablez coordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph

VTK_GEO_XML_UNST_PACK_R4_READ

Function for reading mesh with \b UnstructuredGrid topology (R8P).

Returns: integer(kind=I4P)

fortran
function VTK_GEO_XML_UNST_PACK_R4_READ(NN, NC, XYZ, npiece, cf) result(E_IO)

Arguments

NameTypeIntentAttributesDescription
NNinteger(kind=I4P)outnumber of nodes
NCinteger(kind=I4P)outnumber of cells
XYZreal(kind=R4P)outallocatableCoordinates
npieceinteger(kind=I4P)inoptionalNumber of the piece to read (by default: 1)
cfinteger(kind=I4P)inoptionalCurrent file index (for concurrent files IO).

Call graph