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

Global subroutine (callable from C++) to output an error message. More...

Functions/Subroutines

recursive subroutine wrimsg (ifile, msg, newLine)
 Global subroutine (callable from C++) to output an error message. More...
 

Detailed Description

Global subroutine (callable from C++) to output an error message.

Function/Subroutine Documentation

◆ wrimsg()

recursive subroutine wrimsg ( integer(kind=i4), intent(in)  ifile,
character(len=*), intent(in)  msg,
logical(kind=i4), intent(in)  newLine 
)

Global subroutine (callable from C++) to output an error message.

Parameters
[in]ifileFlag telling where to write the message (see below).
[in]msgThe error message to write
[in]newLineIf .true., write newline character at the end
  • ifile < 0: Write to console only.
  • ifile = 0: Write to console only, or to error file if no console output.
  • ifile = 1: Write to error file only.
  • ifile = 2: Write to both console and error file.