FEDEM Solver  R8.0
Source code of the dynamics solver
Functions
computerConfig.C File Reference

Global functions for extracting information on the running computer. More...

#include "FFaLib/FFaOS/FFaFortran.H"
#include <sys/utsname.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for computerConfig.C:

Functions

static void appends (char *dest, const char *src, const int nchar)
 Static helper to append a string to a fixed-size character buffer. More...
 
 SUBROUTINE (getcomputerconfig, GETCOMPUTERCONFIG)
 Returns a text string identifying the computer the program is run on. More...
 
 SUBROUTINE (getusername, GETUSERNAME)
 Returns the user name that runs the program. More...
 

Detailed Description

Global functions for extracting information on the running computer.

Function Documentation

◆ appends()

static void appends ( char *  dest,
const char *  src,
const int  nchar 
)
static

Static helper to append a string to a fixed-size character buffer.

◆ SUBROUTINE() [1/2]

SUBROUTINE ( getcomputerconfig  ,
GETCOMPUTERCONFIG   
)

Returns a text string identifying the computer the program is run on.

◆ SUBROUTINE() [2/2]

SUBROUTINE ( getusername  ,
GETUSERNAME   
)

Returns the user name that runs the program.