FEDEM Solver  R8.0
Source code of the dynamics solver
Modules | Functions/Subroutines
fmxWriter.f90 File Reference

Shared library wrapper for reading and writing FEDEM fmx files. More...

Modules

module  fmxwriter
 Module encapsulation of the IO_FXM subroutine.
 

Functions/Subroutines

subroutine fmxwriter::io_fmx (prefix, itype, data, nval, chkSum, ierr)
 Read/writes a double precision array from/to the specified fmx-file. More...
 
integer function writefmx (prefix, itype, data, nval)
 Writes a double precision array to the specified fmx-file. More...
 
integer function readfmx (prefix, itype, data, nval)
 Reads a double precision array from the specified fmx-file. More...
 

Detailed Description

Shared library wrapper for reading and writing FEDEM fmx files.

Author
Knut Morten Okstad, SAP SE
Date
22 Nov 2019

Function/Subroutine Documentation

◆ readfmx()

integer function readfmx ( character(len=*), intent(in)  prefix,
integer, intent(in)  itype,
double precision, dimension(*), intent(inout)  data,
integer, intent(in)  nval 
)

Reads a double precision array from the specified fmx-file.

Parameters
[in]prefixFile name prefix
[in]itypeMatrix type (1=stiffness, 2=mass, 3=gravity forces)
[out]dataArray with matrix content
[in]nvalSize of the data array
Returns
Error status. Negative value indicates an error, otherwise OK

◆ writefmx()

integer function writefmx ( character(len=*), intent(in)  prefix,
integer, intent(in)  itype,
double precision, dimension(*), intent(inout)  data,
integer, intent(in)  nval 
)

Writes a double precision array to the specified fmx-file.

Parameters
[in]prefixFile name prefix
[in]itypeMatrix type (1=stiffness, 2=mass, 3=gravity forces)
[in]dataArray with matrix content
[in]nvalSize of the data array
Returns
Error status. Negative value indicates an error, otherwise OK