Implementation of a derived type to hold $MeshFormat
of Gmsh MSH file format.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=*), | private, | parameter | :: | footer | = | '$EndMeshFormat' | |
character(len=*), | private, | parameter | :: | header | = | '$MeshFormat' | |
integer, | private, | parameter | :: | iostat_error | = | 1 |
|
integer, | private, | parameter | :: | iostat_success | = | 0 |
|
Exports the data-size
of the read Gmsh MSH file format as a c_int
value.
Exports the data-size
of the read Gmsh MSH file format as a c_int
value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Exports the file-type
of the read Gmsh MSH file format as a c_int
value.
Exports the file-type
of the read Gmsh MSH file format as a c_int
value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Exports the version of the read Gmsh MSH file format as a c_double
value.
Exports the version of the read Gmsh MSH file format as a c_double
value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Checks if the read Gmsh MSH file is ASCII mode
Checks if the read Gmsh MSH file is ASCII mode
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Checks if the read Gmsh MSH file is binary mode
Checks if the read Gmsh MSH file is binary mode
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Read an $MshMeshFormat
from a connected formatted unit.
Read an $MshMeshFormat
from a connected formatted unit.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(gmsh_msh_format_type), | intent(inout) | :: | gmsh_msh_format | |||
integer, | intent(in) | :: | unit | |||
character(len=*), | intent(in) | :: | iotype | |||
integer, | intent(in) | :: | v_list(:) | |||
integer, | intent(out) | :: | iostat | |||
character(len=*), | intent(inout) | :: | iomsg |
Read an $MshMeshFormat
from a connected unformatted unit.
Read an $MshMeshFormat
from a connected unformatted unit.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(gmsh_msh_format_type), | intent(inout) | :: | gmsh_msh_format | |||
integer, | intent(in) | :: | unit | |||
integer, | intent(out) | :: | iostat | |||
character(len=*), | intent(inout) | :: | iomsg |
Derived type to hold $MeshFormat
of Gmsh MSH file format.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=c_int), | private | :: | data_size | ||||
integer(kind=c_int), | private | :: | file_type | ||||
real(kind=c_double), | private | :: | version |
Exports the data-size
of the read Gmsh MSH file format as a c_int
value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Exports the file-type
of the read Gmsh MSH file format as a c_int
value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Exports the version of the read Gmsh MSH file format as a c_double
value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Checks if the read Gmsh MSH file is ASCII mode
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Checks if the read Gmsh MSH file is binary mode
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh_format_type), | intent(in) | :: | gmsh_msh_format |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | text_line | |||
character(len=*), | intent(in) | :: | str | |||
integer, | intent(inout) | :: | iostat | |||
character(len=*), | intent(inout) | :: | iomsg |
Read an $MshMeshFormat
from a connected formatted unit.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(gmsh_msh_format_type), | intent(inout) | :: | gmsh_msh_format | |||
integer, | intent(in) | :: | unit | |||
character(len=*), | intent(in) | :: | iotype | |||
integer, | intent(in) | :: | v_list(:) | |||
integer, | intent(out) | :: | iostat | |||
character(len=*), | intent(inout) | :: | iomsg |
Read an $MshMeshFormat
from a connected formatted unit.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(gmsh_msh_format_type), | intent(inout) | :: | gmsh_msh_format | |||
integer, | intent(in) | :: | unit | |||
integer, | intent(out) | :: | iostat | |||
character(len=*), | intent(inout) | :: | iomsg |
Read an $MshMeshFormat
from a connected unformatted unit.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(gmsh_msh_format_type), | intent(inout) | :: | gmsh_msh_format | |||
integer, | intent(in) | :: | unit | |||
integer, | intent(out) | :: | iostat | |||
character(len=*), | intent(inout) | :: | iomsg |