OpenCMISS-Iron Internal API Documentation
cmiss_fortran_c Module Reference

This module contains all Fortran and C data conversion routines. More...

Functions/Subroutines

subroutine, public cmissc2fstring (Cstring, Fstring)
 Copys/converts a C string (array of characters) to a Fortran String (length of characters) More...
 
subroutine, public cmissf2cstring (Fstring, Cstring)
 Copys/converts a Fortran String (length of characters) to a C string (array of characters) More...
 
subroutine, public cmissc2fstrings (Cstrings, Fstrings)
 Copys/converts a list of C strings (2D array of characters) to an array of Fortran Strings. More...
 

Detailed Description

This module contains all Fortran and C data conversion routines.

Function/Subroutine Documentation

subroutine, public cmiss_fortran_c::cmissc2fstring ( character(len=1,kind=c_char), dimension(:), intent(in)  Cstring,
character(len=*), intent(out)  Fstring 
)

Copys/converts a C string (array of characters) to a Fortran String (length of characters)

Definition at line 78 of file cmiss_fortran_c.f90.

subroutine, public cmiss_fortran_c::cmissc2fstrings ( character(len=1,kind=c_char), dimension(:,:), intent(in)  Cstrings,
character(len=*), dimension(:), intent(inout)  Fstrings 
)

Copys/converts a list of C strings (2D array of characters) to an array of Fortran Strings.

Definition at line 137 of file cmiss_fortran_c.f90.

subroutine, public cmiss_fortran_c::cmissf2cstring ( character(len=*), intent(in)  Fstring,
character(len=1,kind=c_char), dimension(:), intent(out)  Cstring 
)

Copys/converts a Fortran String (length of characters) to a C string (array of characters)

Definition at line 109 of file cmiss_fortran_c.f90.

Referenced by cmiss_cellml::cellml_create_cellml_to_field_map_c(), cmiss_cellml::cellml_create_field_to_cellml_map_c(), and cmiss_cellml::cellml_field_component_get_c().