DAMASK with grid solvers  Revision: v2.0.3-2204-gdb1f2151
The Düsseldorf Advanced Material Simulation Kit with Grid Solvers
system_routines Module Reference

provides wrappers to C routines More...

Data Types

interface  chdir_C
 
interface  getCurrentWorkDir_C
 
interface  getHostName_C
 
interface  isDirectory_C
 
interface  signalterm_C
 
interface  signalusr1_C
 
interface  signalusr2_C
 

Functions/Subroutines

logical function, public isdirectory (path)
 figures out if a given path is a directory (and not an ordinary file) More...
 
character(len=:) function, allocatable, public getcwd ()
 gets the current working directory More...
 
character(len=:) function, allocatable, public gethostname ()
 gets the current host name More...
 
logical function, public setcwd (path)
 changes the current working directory More...
 

Detailed Description

provides wrappers to C routines

Author
Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH

Function/Subroutine Documentation

◆ getcwd()

character(len=:) function, allocatable, public system_routines::getcwd

gets the current working directory

Definition at line 118 of file system_routines.f90.

Referenced by damask_interface::damask_interface_init(), damask_interface::getgeometryfile(), damask_interface::getloadcasefile(), and damask_interface::setworkingdirectory().

+ Here is the caller graph for this function:

◆ gethostname()

character(len=:) function, allocatable, public system_routines::gethostname

gets the current host name

Definition at line 147 of file system_routines.f90.

Referenced by damask_interface::damask_interface_init().

+ Here is the caller graph for this function:

◆ isdirectory()

logical function, public system_routines::isdirectory ( character(len=*), intent(in)  path)

figures out if a given path is a directory (and not an ordinary file)

Definition at line 100 of file system_routines.f90.

◆ setcwd()

logical function, public system_routines::setcwd ( character(len=*), intent(in)  path)

changes the current working directory

Definition at line 176 of file system_routines.f90.

Referenced by damask_interface::setworkingdirectory().

+ Here is the caller graph for this function: