OpenCMISS-Iron Internal API Documentation
|
Output routines for FieldML. More...
Data Types | |
type | basis_info_type |
type | connectivity_info_type |
interface | fieldml_output_add_field |
Functions/Subroutines | |
subroutine | fieldml_assert_is_out (FIELDML_INFO, ERR, ERROR,) |
Asserts that the FieldML Info is associated and created for output. More... | |
subroutine | fieldml_output_get_collapse_suffix (COLLAPSE_INFO, SUFFIX, ERR, ERROR,) |
Get the text suffix corresponding to the given array of collapse constants. More... | |
integer(intg) function | fieldml_output_import_fml (FML_HANDLE, REMOTE_NAME, ERR, ERROR) |
Import the named object from the built-in library into the current FieldML document. The local name will be the same as the remote name. More... | |
integer(intg) function | fieldml_output_import (FIELDML_INFO, REMOTE_NAME, ERR, ERROR) |
Import the named object from the built-in library into the current FieldML document. The local name will be the same as the remote name. More... | |
integer(intg) function, public | fieldml_output_add_import (FIELDML_INFO, REMOTE_NAME, ERR, ERROR) |
Import the named object from the built-in library into the current FieldML document. The local name will be the same as the remote name. More... | |
integer(intg) function | fieldml_output_import_handle (FML_HANDLE, HANDLE, ERR, ERROR) |
Import the given FieldML object if it is not already imported or local. More... | |
integer(intg) function | fieldml_output_get_type_argument_handle (FIELDML_INFO, TYPE_HANDLE, DO_IMPORT, ERR, ERROR) |
Get the argument corresponding to the given type (named *.argument), importing it if needed. More... | |
subroutine | fieldml_output_get_coordinates_type (FIELDML_HANDLE, COORDS_TYPE, DIMENSIONS, DO_IMPORT, TYPE_HANDLE, ERR, ERROR,) |
Get the FieldML built-in library type corresponding to the given OpenCMISS coordinate system type. More... | |
subroutine | fieldml_output_get_generic_type (FIELDML_HANDLE, DIMENSIONS, TYPE_HANDLE, DO_IMPORT, ERR, ERROR,) |
Returns a generic n-dimensional real type from the built-in library. More... | |
subroutine | fieldml_output_get_xi_type (FIELDML_HANDLE, DIMENSIONS, DO_IMPORT, TYPE_HANDLE, ERR, ERROR,) |
Returns a type in the built-in library corresponding to a chart of the given dimensionality. More... | |
subroutine | fieldml_output_get_value_type (FML_HANDLE, FIELD, VARIABLE_TYPE, DO_IMPORT, TYPE_HANDLE, ERR, ERROR,) |
Returns a FieldML type appropriate for the given OpenCMISS field. More... | |
subroutine | fieldml_output_get_tp_basis_evaluator (FML_HANDLE, XI_INTERPOLATIONS, COLLAPSE_INFO, EVALUATOR_HANDLE, PARAMETERS_HANDLE, ERR, ERROR,) |
Get an evaluator from the built-in library that corresponds to the given OpenCMISS tensor-product basis. More... | |
subroutine | fieldmloutputgetsimplexbasisevaluator (fmlHandle, xiInterpolations, evaluatorHandle, parametersHandle, err, error,) |
Get an evaluator from the built-in library that corresponds to the given OpenCMISS simplex basis. Currently does not support collapsed bases. More... | |
subroutine | fieldml_output_get_tp_connectivity_type (FIELDML_HANDLE, XI_INTERPOLATIONS, COLLAPSE_INFO, DO_IMPORT, TYPE_HANDLE, ERR, ERROR,) |
Return the FieldML connectivity ensemble corresponding to the given tensor-product basis info. More... | |
subroutine | fieldmloutputgetsimplexconnectivitytype (fieldmlHandle, xiInterpolations, doImport, typeHandle, err, error,) |
Return the FieldML connectivity ensemble corresponding to the given simplex basis info. More... | |
subroutine | fieldml_output_get_connectivity_ensemble (FIELDML_HANDLE, BASIS, TYPE_HANDLE, ERR, ERROR,) |
Get the connectivity ensemble for the given basis. Currently, only tensor-product bases are supported. More... | |
integer(intg) function | fieldml_output_find_layout (CONNECTIVITY_INFO, LAYOUT_HANDLE, ERR, ERROR) |
Returns the index of the layout handle used by the given connectivity info array, or -1 if none can be found. More... | |
integer(intg) function | fieldml_output_find_basis (BASIS_INFO, BASIS, ERR, ERROR) |
Returns the index of the basis handle used by the given basis info array, or -1 if none can be found. More... | |
subroutine | fieldml_output_get_simple_layout_name (FML_HANDLE, LAYOUT_HANDLE, NAME, ERR, ERROR,) |
Returns the simplified name of the given layout. This is used for naming associated connectivity evaluators. More... | |
subroutine | fieldml_output_get_simple_basis_name (FML_HANDLE, BASIS_HANDLE, NAME, ERR, ERROR,) |
Returns the simplified name of the given basis. This is used for naming associated reference evaluators. More... | |
subroutine | fieldml_output_create_basis_reference (FIELDML_INFO, BASE_NAME, BASIS_INFO, ERR, ERROR,) |
Create a basis evaluator from the given basis info. More... | |
subroutine | fieldml_output_create_layout_parameters (FIELDML_INFO, LAYOUT_HANDLE, COMPONENT_NAME, CONNECTIVITY_INFO, ERR, ERROR,) |
Create a parameter evaluator for the given local node layout. More... | |
subroutine | fieldml_output_add_mesh_component (FIELDML_INFO, BASE_NAME, CONNECTIVITY_FORMAT, COMPONENT_NUMBER, MESH_ELEMENTS, ERR, ERROR,) |
Add an evaluator corresponding to the given component of the given OpenCMISS mesh. More... | |
subroutine | fieldml_output_add_field_node_dofs (FIELDML_INFO, BASE_NAME, DOF_FORMAT, TYPE_HANDLE, FIELD, FIELD_COMPONENT_NUMBERS, VARIABLE_TYPE, SET_TYPE, NODE_DOFS_HANDLE, ERR, ERROR,) |
Create a parameter evaluator and associated data source containing the nodal dofs for the given field components. More... | |
subroutine | fieldml_output_add_field_element_dofs (FIELDML_INFO, BASE_NAME, DOF_FORMAT, TYPE_HANDLE, FIELD, FIELD_COMPONENT_NUMBERS, VARIABLE_TYPE, SET_TYPE, ELEMENT_DOFS_HANDLE, ERR, ERROR,) |
Create a parameter evaluator and associated data source containing the element dofs for the given field components. More... | |
subroutine | fieldml_output_add_field_constant_dofs (FIELDML_INFO, BASE_NAME, DOF_FORMAT, TYPE_HANDLE, FIELD, FIELD_COMPONENT_NUMBERS, VARIABLE_TYPE, SET_TYPE, CONSTANT_DOFS_HANDLE, ERR, ERROR,) |
Create a parameter evaluator and associated data source containing the globally constant dofs for the given field components. More... | |
subroutine, public | fieldml_output_initialise_info (MESH, LOCATION, BASE_NAME, CONNECTIVITY_FORMAT, FIELDML_INFO, ERR, ERROR,) |
Initialize the given FieldML parsing state for use with the given mesh. More... | |
subroutine, public | fieldml_output_add_field_components (FIELDML_INFO, TYPE_HANDLE, BASE_NAME, DOF_FORMAT, FIELD, FIELD_COMPONENT_NUMBERS, VARIABLE_TYPE, SET_TYPE, ERR, ERROR,) |
Add the components of the given field to the given FieldML evaluator, creating component templates as needed. More... | |
subroutine | fieldml_output_add_field_no_type (FIELDML_INFO, BASE_NAME, DOF_FORMAT, FIELD, VARIABLE_TYPE, SET_TYPE, ERR, ERROR,) |
Add the given field to the given FieldML document. The field's type will be determined by FieldmlUtilGetValueType. More... | |
subroutine | fieldml_output_add_field_with_type (FIELDML_INFO, BASE_NAME, DOF_FORMAT, FIELD, VARIABLE_TYPE, SET_TYPE, TYPE_HANDLE, ERR, ERROR,) |
Add the given field to the given FieldML document using the given FieldML type. More... | |
subroutine, public | fieldml_output_write (FIELDML_INFO, FILENAME, ERR, ERROR,) |
Write the given FieldML document to the given file. More... | |
Output routines for FieldML.
|
private |
Asserts that the FieldML Info is associated and created for output.
fieldml_info | The FieldML parsing state. | |
[out] | err | The error code |
[out] | error | The error string. |
Definition at line 101 of file fieldml_output_routines.f90.
References base_routines::enters(), and base_routines::exits().
Referenced by fieldml_output_add_field_components(), fieldml_output_add_field_no_type(), fieldml_output_add_field_with_type(), fieldml_output_add_import(), and fieldml_output_write().
subroutine, public fieldml_output_routines::fieldml_output_add_field_components | ( | type(fieldml_io_type), pointer | FIELDML_INFO, |
integer(intg), intent(in) | TYPE_HANDLE, | ||
type(varying_string), intent(in) | BASE_NAME, | ||
type(varying_string), intent(in) | DOF_FORMAT, | ||
type(field_type), intent(in), pointer | FIELD, | ||
integer(intg), dimension(:), intent(in) | FIELD_COMPONENT_NUMBERS, | ||
integer(intg), intent(in) | VARIABLE_TYPE, | ||
integer(intg), intent(in) | SET_TYPE, | ||
integer(intg), intent(out) | ERR, | ||
type(varying_string), intent(out) | ERROR | ||
) |
Add the components of the given field to the given FieldML evaluator, creating component templates as needed.
fieldml_info | The FieldML parsing state. | |
[in] | type_handle | The FieldML type handle for the field. |
[in] | base_name | The root name of the basis evaluator. |
[in] | dof_format | The name of the format to use when writing dof data. |
[in] | field | The field for which dof components are to be created. |
[in] | field_component_numbers | The field component numbers for which evaluators are to be created. |
[in] | variable_type | The OpenCMISS variable type to generate dofs for. |
[in] | set_type | The parameter set type. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 2120 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_assert_is_out(), fieldml_output_add_field_constant_dofs(), fieldml_output_add_field_element_dofs(), fieldml_output_add_field_node_dofs(), and fieldml_output_get_type_argument_handle().
Referenced by fieldml_output_add_field_with_type().
|
private |
Create a parameter evaluator and associated data source containing the globally constant dofs for the given field components.
[in] | fieldml_info | The FieldML parsing state. |
[in] | base_name | The root name of the basis evaluator. |
[in] | dof_format | The name of the format to use when writing dof data. |
[in] | type_handle | The FieldML type handle for the field. |
[in] | field | The field for which dof evaluators are to be created. |
[in] | field_component_numbers | The field component numbers for which dof evaluators are to be created. |
[in] | variable_type | The OpenCMISS variable type to generate dofs for. |
[in] | set_type | The parameter set type. |
[in,out] | constant_dofs_handle | The handle of the constant dofs parameter evaluator. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1808 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_output_get_generic_type(), fieldml_output_get_type_argument_handle(), and fieldml_output_import_handle().
Referenced by fieldml_output_add_field_components().
|
private |
Create a parameter evaluator and associated data source containing the element dofs for the given field components.
[in] | fieldml_info | The FieldML parsing state. |
[in] | base_name | The root name of the basis evaluator. |
[in] | dof_format | The name of the format to use when writing dof data. |
[in] | type_handle | The FieldML type handle for the field. |
[in] | field | The field for which dof evaluators are to be created. |
[in] | field_component_numbers | The field component numbers for which dof evaluators are to be created. |
[in] | variable_type | The OpenCMISS variable type to generate dofs for. |
[in] | set_type | The parameter set type. |
[in,out] | element_dofs_handle | The handle of the element dofs parameter evaluator. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1671 of file fieldml_output_routines.f90.
References base_routines::exits(), fieldml_output_get_generic_type(), fieldml_output_get_type_argument_handle(), and fieldml_output_import_handle().
Referenced by fieldml_output_add_field_components().
|
private |
Add the given field to the given FieldML document. The field's type will be determined by FieldmlUtilGetValueType.
fieldml_info | The FieldML parsing state. | |
[in] | base_name | The root name of the basis evaluator. |
[in] | dof_format | The name of the format to use when writing dof data. |
[in] | field | The field for which evaluators are to be created. |
[in] | variable_type | The OpenCMISS variable type to generate dofs for. |
[in] | set_type | The parameter set type. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 2242 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_assert_is_out(), fieldml_output_add_field_with_type(), and fieldml_output_get_value_type().
|
private |
Create a parameter evaluator and associated data source containing the nodal dofs for the given field components.
[in] | fieldml_info | The FieldML parsing state. |
[in] | base_name | The root name of the basis evaluator. |
[in] | dof_format | The name of the format to use when writing dof data. |
[in] | type_handle | The FieldML type handle for the field. |
[in] | field | The field for which dof evaluators are to be created. |
[in] | field_component_numbers | The field component numbers for which dof evaluators are to be created. |
[in] | variable_type | The OpenCMISS variable type to generate dofs for. |
[in] | set_type | The parameter set type. |
[in,out] | node_dofs_handle | The handle of the nodal dofs parameter evaluator. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1507 of file fieldml_output_routines.f90.
References comp_environment::computational_node_number_get(), base_routines::enters(), base_routines::exits(), fieldml_output_get_generic_type(), fieldml_output_get_type_argument_handle(), fieldml_output_import_handle(), and constants::no_global_deriv.
Referenced by fieldml_output_add_field_components().
|
private |
Add the given field to the given FieldML document using the given FieldML type.
fieldml_info | The FieldML parsing state. | |
[in] | base_name | The root name of the basis evaluator. |
[in] | dof_format | The name of the format to use when writing dof data. |
[in] | field | The field for which evaluators are to be created. |
[in] | variable_type | The OpenCMISS variable type to generate dofs for. |
[in] | set_type | The parameter set type. |
[in] | type_handle | The FieldML type handle for the field. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 2278 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_assert_is_out(), and fieldml_output_add_field_components().
Referenced by fieldml_output_add_field_no_type().
integer(intg) function, public fieldml_output_routines::fieldml_output_add_import | ( | type(fieldml_io_type), pointer | FIELDML_INFO, |
type(varying_string), intent(in) | REMOTE_NAME, | ||
integer(intg), intent(out) | ERR, | ||
type(varying_string), intent(out) | ERROR | ||
) |
Import the named object from the built-in library into the current FieldML document. The local name will be the same as the remote name.
fieldml_info | The FieldML parsing state. | |
[in] | remote_name | The name of the object to import. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 220 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_assert_is_out(), and fieldml_output_import_fml().
|
private |
Add an evaluator corresponding to the given component of the given OpenCMISS mesh.
[in,out] | fieldml_info | The FieldML parsing state. |
[in] | base_name | The root name of the basis evaluator. |
[in] | connectivity_format | The name of the format to use when writing connectivity data. |
[in] | component_number | The mesh component number for which an evaluator should be constructed. |
[in] | mesh_elements | The mesh element from which to obtain topology info. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1300 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_output_create_basis_reference(), fieldml_output_create_layout_parameters(), fieldml_output_find_basis(), fieldml_output_find_layout(), and fieldml_output_get_connectivity_ensemble().
Referenced by fieldml_output_initialise_info().
|
private |
Create a basis evaluator from the given basis info.
[in] | fieldml_info | The FieldML parsing state. |
[in] | base_name | The root name of the basis evaluator. |
[in,out] | basis_info | The basis info describing the basis to create. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1080 of file fieldml_output_routines.f90.
References basis_routines::basis_collapsed_xi_get(), basis_routines::basis_interpolation_xi_get(), basis_routines::basis_lagrange_hermite_tp_type, basis_routines::basis_number_of_xi_get(), basis_routines::basis_simplex_type, basis_routines::basis_type_get(), base_routines::enters(), base_routines::exits(), fieldml_output_get_simple_basis_name(), fieldml_output_get_tp_basis_evaluator(), fieldml_output_get_type_argument_handle(), fieldml_output_get_xi_type(), and fieldmloutputgetsimplexbasisevaluator().
Referenced by fieldml_output_add_mesh_component().
|
private |
Create a parameter evaluator for the given local node layout.
[in,out] | fieldml_info | The FieldML parsing state. |
[in] | layout_handle | The local node layout. |
[in] | component_name | The component name. |
[in,out] | connectivity_info | The connectivity info for the local node layout. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1245 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_output_get_simple_layout_name(), and fieldml_output_get_type_argument_handle().
Referenced by fieldml_output_add_mesh_component().
|
private |
Returns the index of the basis handle used by the given basis info array, or -1 if none can be found.
[in] | basis_info | The basis info array to search. |
[in] | basis | The basis handle to search for. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 973 of file fieldml_output_routines.f90.
References base_routines::enters(), and base_routines::exits().
Referenced by fieldml_output_add_mesh_component().
|
private |
Returns the index of the layout handle used by the given connectivity info array, or -1 if none can be found.
[in] | connectivity_info | The connectivity info array to search. |
[in] | layout_handle | The local node layout handle to search for. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 940 of file fieldml_output_routines.f90.
References base_routines::enters(), and base_routines::exits().
Referenced by fieldml_output_add_mesh_component().
|
private |
Get the text suffix corresponding to the given array of collapse constants.
[in] | collapse_info | The collapse into from which to generate the suffix. |
[in,out] | suffix | The suffix string encoding the collapse info. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 127 of file fieldml_output_routines.f90.
References basis_routines::basis_collapsed_at_xi0, basis_routines::basis_collapsed_at_xi1, basis_routines::basis_xi_collapsed, base_routines::enters(), and base_routines::exits().
Referenced by fieldml_output_get_tp_basis_evaluator(), and fieldml_output_get_tp_connectivity_type().
|
private |
Get the connectivity ensemble for the given basis. Currently, only tensor-product bases are supported.
[in] | fieldml_handle | The FieldML session handle. |
basis | The basis for which to return the connectivity. | |
[out] | type_handle | The FieldML connectivity ensemble. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 883 of file fieldml_output_routines.f90.
References basis_routines::basis_collapsed_xi_get(), basis_routines::basis_interpolation_xi_get(), basis_routines::basis_lagrange_hermite_tp_type, basis_routines::basis_number_of_xi_get(), basis_routines::basis_simplex_type, basis_routines::basis_type_get(), base_routines::enters(), base_routines::exits(), fieldml_output_get_tp_connectivity_type(), and fieldmloutputgetsimplexconnectivitytype().
Referenced by fieldml_output_add_mesh_component().
|
private |
Get the FieldML built-in library type corresponding to the given OpenCMISS coordinate system type.
[in] | fieldml_handle | The FieldML session handle. |
[in] | coords_type | The OpenCMISS coordinates type. |
[in] | dimensions | The coordinate system's number of dimensions. |
[in] | do_import | If true, import the FieldML type. |
[out] | type_handle | The FieldML type corresponding to the given OpenCMISS coordinate system type. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 344 of file fieldml_output_routines.f90.
References coordinate_routines::coordinate_rectangular_cartesian_type, base_routines::enters(), base_routines::exits(), and fieldml_output_import_fml().
Referenced by fieldml_output_get_value_type().
|
private |
Returns a generic n-dimensional real type from the built-in library.
[in] | fieldml_handle | The FieldML session handle. |
[in] | dimensions | The number of dimensions of the type. |
[out] | type_handle | The FieldML type. |
[in] | do_import | If true, import the type. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 396 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), and fieldml_output_import_fml().
Referenced by fieldml_output_add_field_constant_dofs(), fieldml_output_add_field_element_dofs(), fieldml_output_add_field_node_dofs(), fieldml_output_get_value_type(), and fieldml_output_initialise_info().
|
private |
Returns the simplified name of the given basis. This is used for naming associated reference evaluators.
[in] | fml_handle | The FieldML session handle |
[in] | basis_handle | The basis handle. |
[in,out] | name | The simplified name. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1041 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), and constants::maxstrlen.
Referenced by fieldml_output_create_basis_reference().
|
private |
Returns the simplified name of the given layout. This is used for naming associated connectivity evaluators.
[in] | fml_handle | The FieldML session handle |
[in] | layout_handle | The local node layout. |
[in,out] | name | The simplified name. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1006 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), and constants::maxstrlen.
Referenced by fieldml_output_create_layout_parameters().
|
private |
Get an evaluator from the built-in library that corresponds to the given OpenCMISS tensor-product basis.
[in] | fml_handle | The FieldML session handle |
[in] | xi_interpolations | The per-xi interpolations used by the basis. |
[in] | collapse_info | The basis collapse info. |
[out] | evaluator_handle | The evaluator handle for the basis. |
[out] | parameters_handle | The basis parameters argument evaluator. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 538 of file fieldml_output_routines.f90.
References basis_routines::basis_linear_lagrange_interpolation, basis_routines::basis_quadratic_lagrange_interpolation, base_routines::enters(), base_routines::exits(), fieldml_output_get_collapse_suffix(), and fieldml_output_import_fml().
Referenced by fieldml_output_create_basis_reference().
|
private |
Return the FieldML connectivity ensemble corresponding to the given tensor-product basis info.
[in] | fieldml_handle | The FieldML session handle. |
[in] | xi_interpolations | The per-xi interpolation of the given TP basis. |
[in] | collapse_info | The collapse-constant for the given basis. |
[in] | do_import | If true, import the connectivity ensemble. |
[out] | type_handle | The FieldML ensemble handle. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 724 of file fieldml_output_routines.f90.
References basis_routines::basis_linear_lagrange_interpolation, basis_routines::basis_quadratic_lagrange_interpolation, base_routines::enters(), base_routines::exits(), fieldml_output_get_collapse_suffix(), and fieldml_output_import_fml().
Referenced by fieldml_output_get_connectivity_ensemble().
|
private |
Get the argument corresponding to the given type (named *.argument), importing it if needed.
[in] | fieldml_info | The FieldML parsing state. |
[in] | do_import | If true, import the argument. |
[in] | type_handle | The type out of whose name the argument name is built. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 290 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), fieldml_output_import(), and constants::maxstrlen.
Referenced by fieldml_output_add_field_components(), fieldml_output_add_field_constant_dofs(), fieldml_output_add_field_element_dofs(), fieldml_output_add_field_node_dofs(), fieldml_output_create_basis_reference(), and fieldml_output_create_layout_parameters().
|
private |
Returns a FieldML type appropriate for the given OpenCMISS field.
[in] | fml_handle | The FieldML session handle. |
[in] | field | The field whose type is to be obtained. |
[in] | variable_type | The OpenCMISS variable type to generate dofs for. |
[in] | do_import | If true, import the type. |
[out] | type_handle | The FieldML type handle. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 486 of file fieldml_output_routines.f90.
References coordinate_routines::coordinate_system_type_get(), base_routines::enters(), base_routines::exits(), fieldml_output_get_coordinates_type(), fieldml_output_get_generic_type(), and region_routines::region_coordinate_system_get().
Referenced by fieldml_output_add_field_no_type().
|
private |
Returns a type in the built-in library corresponding to a chart of the given dimensionality.
[in] | fieldml_handle | The FieldML session handle. |
[in] | dimensions | The number of dimensions of the chart. |
[in] | do_import | If true, import the type. |
[out] | type_handle | The FieldML type. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 441 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), and fieldml_output_import_fml().
Referenced by fieldml_output_create_basis_reference().
|
private |
Import the named object from the built-in library into the current FieldML document. The local name will be the same as the remote name.
[in] | fieldml_info | The FieldML parsing state. |
[in] | remote_name | The name of the object to import. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 195 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), and fieldml_output_import_fml().
Referenced by fieldml_output_get_type_argument_handle(), and fieldml_output_initialise_info().
|
private |
Import the named object from the built-in library into the current FieldML document. The local name will be the same as the remote name.
[in] | fml_handle | The FieldML session handle. |
[in] | remote_name | The name of the object to import. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 162 of file fieldml_output_routines.f90.
References base_routines::enters(), and base_routines::exits().
Referenced by fieldml_output_add_import(), fieldml_output_get_coordinates_type(), fieldml_output_get_generic_type(), fieldml_output_get_tp_basis_evaluator(), fieldml_output_get_tp_connectivity_type(), fieldml_output_get_xi_type(), fieldml_output_import(), fieldmloutputgetsimplexbasisevaluator(), and fieldmloutputgetsimplexconnectivitytype().
|
private |
Import the given FieldML object if it is not already imported or local.
[in] | fml_handle | The FieldML session handle. |
[in] | handle | The FieldML object to import. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 246 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), and constants::maxstrlen.
Referenced by fieldml_output_add_field_constant_dofs(), fieldml_output_add_field_element_dofs(), and fieldml_output_add_field_node_dofs().
subroutine, public fieldml_output_routines::fieldml_output_initialise_info | ( | type(mesh_type), intent(in), pointer | MESH, |
type(varying_string), intent(in) | LOCATION, | ||
type(varying_string), intent(in) | BASE_NAME, | ||
type(varying_string), intent(in) | CONNECTIVITY_FORMAT, | ||
type(fieldml_io_type), pointer | FIELDML_INFO, | ||
integer(intg), intent(out) | ERR, | ||
type(varying_string), intent(out) | ERROR | ||
) |
Initialize the given FieldML parsing state for use with the given mesh.
[in] | mesh | The mesh with which the FieldML document is associated. |
[in] | location | The location of the FieldML file. Data resources will be created here. |
[in] | base_name | The root name of the basis evaluator. |
[in] | connectivity_format | The name of the format to use when writing connectivity data. |
fieldml_info | The FieldML parsing state. | |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 1972 of file fieldml_output_routines.f90.
References basis_routines::basis_simplex_type, base_routines::enters(), base_routines::exits(), fieldml_util_routines::fieldml_io_initialise(), fieldml_output_add_mesh_component(), fieldml_output_get_generic_type(), fieldml_output_import(), and region_routines::region_nodes_get().
subroutine, public fieldml_output_routines::fieldml_output_write | ( | type(fieldml_io_type), pointer | FIELDML_INFO, |
type(varying_string), intent(in) | FILENAME, | ||
integer(intg), intent(out) | ERR, | ||
type(varying_string), intent(out) | ERROR | ||
) |
Write the given FieldML document to the given file.
fieldml_info | The FieldML parsing state. | |
[in] | filename | The file to write the FieldML document to. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 2330 of file fieldml_output_routines.f90.
References base_routines::enters(), base_routines::exits(), and fieldml_assert_is_out().
|
private |
Get an evaluator from the built-in library that corresponds to the given OpenCMISS simplex basis. Currently does not support collapsed bases.
[in] | fmlhandle | The FieldML session handle |
[in] | xiinterpolations | The per-xi interpolations used by the basis. |
[out] | evaluatorhandle | The evaluator handle for the basis. |
[out] | parametershandle | The basis parameters argument evaluator. |
[out] | err | The error code. |
[out] | error | The error string. |
Definition at line 633 of file fieldml_output_routines.f90.
References basis_routines::basis_linear_simplex_interpolation, basis_routines::basis_quadratic_simplex_interpolation, base_routines::enters(), base_routines::exits(), and fieldml_output_import_fml().
Referenced by fieldml_output_create_basis_reference().
|
private |
Return the FieldML connectivity ensemble corresponding to the given simplex basis info.
[in] | fieldmlhandle | The FieldML session handle. |
[in] | xiinterpolations | The per-xi interpolation of the given TP basis. |
[in] | doimport | If true, import the connectivity ensemble. |
[out] | typehandle | The FieldML ensemble handle. |
[out] | err | The error code. |
[out] | error | The error string |
Definition at line 805 of file fieldml_output_routines.f90.
References basis_routines::basis_linear_simplex_interpolation, basis_routines::basis_quadratic_simplex_interpolation, base_routines::enters(), base_routines::exits(), and fieldml_output_import_fml().
Referenced by fieldml_output_get_connectivity_ensemble().