85 INTEGER(INTG),
INTENT(IN) :: FML_HANDLE
86 INTEGER(INTG),
INTENT(OUT) :: ERR
89 INTEGER(INTG) :: FML_ERR
91 enters(
"FieldMLUtil_CheckFieldMLSessionErrorVS", err, error, *999 )
92 fml_err = fieldml_getlasterror( fml_handle )
94 IF( fml_err == fml_err_no_error )
THEN 95 exits(
"FieldMLUtil_CheckFieldMLSessionErrorVS" )
102 999 errorsexits(
"FieldMLUtil_CheckFieldMLSessionErrorVS", err, error )
112 CHARACTER(LEN=*),
INTENT(IN) :: ERROR_DESCRIPTION
113 INTEGER(INTG),
INTENT(IN) :: FML_HANDLE
114 INTEGER(INTG),
INTENT(OUT) :: ERR
117 INTEGER(INTG) :: FML_ERR
119 enters(
"FIELDML_UTIL_CHECK_FIELDML_SESSION_ERRORC", err, error, *999 )
120 fml_err = fieldml_getlasterror( fml_handle )
122 IF( fml_err == fml_err_no_error )
THEN 123 exits(
"FIELDML_UTIL_CHECK_FIELDML_SESSION_ERRORC" )
130 999 errorsexits(
"FIELDML_UTIL_CHECK_FIELDML_SESSION_ERRORC", err, error )
143 LOGICAL,
INTENT(IN) :: IS_OUT
144 INTEGER(INTG),
INTENT(OUT) :: ERR
147 INTEGER(INTG) :: DUMMY_ERR
150 enters(
"FIELDML_IO_INITIALISE", err, error, *998 )
152 IF(
ASSOCIATED(fieldml_info))
THEN 153 CALL flagerror(
"FieldML info is already associated",err,error,*998)
156 ALLOCATE(fieldml_info, stat = err)
158 CALL flagerror(
"Could not allocate FieldML info",err,error,*998)
161 fieldml_info%IS_OUT = is_out
162 fieldml_info%FML_HANDLE = fml_invalid_handle
163 fieldml_info%NODES_HANDLE = fml_invalid_handle
164 fieldml_info%MESH_HANDLE = fml_invalid_handle
165 fieldml_info%ELEMENTS_HANDLE = fml_invalid_handle
166 fieldml_info%XI_HANDLE = fml_invalid_handle
167 fieldml_info%NODE_DOFS_HANDLE = fml_invalid_handle
170 NULLIFY( fieldml_info%COMPONENT_HANDLES )
171 NULLIFY( fieldml_info%BASIS_HANDLES )
172 NULLIFY( fieldml_info%BASIS_CONNECTIVITY_HANDLES )
173 NULLIFY( fieldml_info%BASIS_LAYOUT_HANDLES )
177 CALL list_mutable_set( fieldml_info%COMPONENT_HANDLES, .true., err, error, *999 )
184 CALL list_create_start( fieldml_info%BASIS_CONNECTIVITY_HANDLES, err, error, *999 )
192 exits(
"FIELDML_IO_INITIALISE" )
196 998 errorsexits(
"FIELDML_IO_INITIALISE", err, error )
209 INTEGER(INTG),
INTENT(OUT) :: ERR
213 INTEGER(INTG) :: FML_ERR
215 enters(
"FIELDML_IO_FINALISE", err, error, *999 )
217 IF(
ASSOCIATED(fieldml_info))
THEN 218 fml_err = fieldml_destroy( fieldml_info%FML_HANDLE )
219 CALL list_destroy( fieldml_info%COMPONENT_HANDLES, err, error, *999 )
220 CALL list_destroy( fieldml_info%BASIS_HANDLES, err, error, *999 )
221 CALL list_destroy( fieldml_info%BASIS_CONNECTIVITY_HANDLES, err, error, *999 )
222 CALL list_destroy( fieldml_info%BASIS_LAYOUT_HANDLES, err, error, *999 )
223 DEALLOCATE(fieldml_info)
226 exits(
"FIELDML_IO_FINALISE" )
228 999 errorsexits(
"FIELDML_IO_FINALISE", err, error )
This module contains all basis function routines.
subroutine, public enters(NAME, ERR, ERROR,)
Records the entry into the named procedure and initialises the error code.
This module contains all coordinate transformation and support routines.
Converts a number to its equivalent varying string representation.
subroutine, public fieldml_io_finalise(FIELDML_INFO, ERR, ERROR,)
This module contains all region routines.
subroutine fieldml_util_check_fieldml_session_errorc(ERROR_DESCRIPTION, FML_HANDLE, ERR, ERROR,)
Contains information on the current FieldML parsing state.
This module contains all string manipulation and transformation routines.
Utility routines for FieldML.
integer(intg), parameter, public list_intg_type
Integer data type for a list.
This module provides an iso_varying_string module, conformant to the API specified in ISO/IEC 1539-2:...
subroutine fieldmlutil_checkfieldmlsessionerrorvs(ERROR_DESCRIPTION, FML_HANDLE, ERR, ERROR,)
This module contains all program wide constants.
subroutine, public exits(NAME)
Records the exit out of the named procedure.
This module contains all type definitions in order to avoid cyclic module references.
This module contains all the low-level base routines e.g., all debug, control, and low-level communic...
subroutine, public list_create_finish(LIST, ERR, ERROR,)
Finishes the creation of a list created with LIST_CREATE_START.
subroutine, public fieldml_io_initialise(FIELDML_INFO, IS_OUT, ERR, ERROR,)
subroutine, public list_mutable_set(LIST, MUTABLE, ERR, ERROR,)
Sets/changes the data dimension for a list.
subroutine, public list_create_start(LIST, ERR, ERROR,)
Starts the creation of a list and returns a pointer to the created list.
Implements lists of base types.
subroutine, public list_data_type_set(LIST, DATA_TYPE, ERR, ERROR,)
Sets/changes the data type for a list.
subroutine, public list_destroy(LIST, ERR, ERROR,)
Destroys a list.
Flags an error condition.
This module contains all kind definitions.