FEDEM Solver  R8.0
Source code of the dynamics solver
Functions/Subroutines
fmxwriter Module Reference

Module encapsulation of the IO_FXM subroutine. More...

Functions/Subroutines

subroutine io_fmx (prefix, itype, data, nval, chkSum, ierr)
 Read/writes a double precision array from/to the specified fmx-file. More...
 

Detailed Description

Module encapsulation of the IO_FXM subroutine.

Function/Subroutine Documentation

◆ io_fmx()

subroutine fmxwriter::io_fmx ( character(len=*), intent(in)  prefix,
integer, intent(in)  itype,
real(dp), dimension(*), intent(inout)  data,
integer, intent(in)  nval,
integer, intent(in), optional  chkSum,
integer, intent(out)  ierr 
)

Read/writes a double precision array from/to the specified fmx-file.

Parameters
[in]prefixFile name prefix
[in]itypeMatrix type (1=stiffness, 2=mass, 3=gravity forces)
dataArray with matrix content
[in]nvalSize of the data array
[in]chkSumWrite to file if present, otherwise read from file
[out]ierrError flag (negative value indicates error, otherwise OK)