ivutils
Loading...
Searching...
No Matches
apConfig Class Reference

configuration settings More...

#include <component.h>

Public Member Functions

int SetOutputDir (const std::string &dir)
 set location of directory for application output files
 
int SetRawDataDir (const std::string &dir)
 set location of alternative directory for application output files
 
int SetOMPMaxThreads (int mthreads)
 set this parameter as omp_max_threads to be used application-wide
 
void SetSysArgs (int argc_=0, char **argv_=NULL, apMPIComm *comm=&theComm)
 sets argv on all processors correspongingly to argc_ and argv_ on zero processor
 
FILE * open_file (const char *fname, const char *mode)
 Same as fopen() but prepends outdir directory name to the file name before opening.
 

Public Attributes

std::vector< std::string > argv
 command line arguments
 
_info info
 application name
 

Friends

int apInitDir (std::string outdir, std::string rawdir, bool silent, bool mult_nodes)
 When silent is true, only info is printed as vblMESS1, otherwise other starting parameters are specified.
 

Detailed Description

configuration settings

Friends And Related Symbol Documentation

◆ apInitDir

int apInitDir ( std::string  outdir,
std::string  rawdir,
bool  silent,
bool  mult_nodes 
)
friend

When silent is true, only info is printed as vblMESS1, otherwise other starting parameters are specified.

When mult_nodes is true, all nodes produce log files proc_xxx.dat (xxx - node number), otherwise only first node does it (proc.dat).


The documentation for this class was generated from the following file: