amroc/weno/CLESLog.h File Reference

#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include "DAGH.h"
#include <portinfo>
#include <cstdlib>
#include <cmath>
#include "DAGHParams.h"
#include "DAGHDefaults.h"
#include <cassert>
#include <iosfwd>
#include "lparx_copyright.h"
#include "BBox.h"
#include "Coords.h"
#include <iostream>
#include <list>
#include <cstring>
#include "GridUnit.h"
#include "BucketType.h"
#include "ObjectCounter.h"
#include "GridUnitList.h"
#include "BBoxList.h"
#include <mpi.h>
#include "DAGHSfc.h"
#include "CommServer.h"
#include "GridBox.h"
#include "GridBoxList.h"
#include "PackedGridDataBucket.h"
#include "GridTable.h"
#include <new>
#include "generic.h"
#include "GridHierarchy.h"
#include "GridFunctionVoid.h"
#include <fstream>
#include <sstream>
#include "GridHierarchyCalls.h"
#include <cstdio>
#include <vector>
#include <algorithm>
#include "Timing.h"
#include "DAGHIOParams.h"
#include "GridData1.h"
#include "GridData2.h"
#include "GridData3.h"
#include "DCoords.h"
#include "AllocError.h"
#include "DAGHFortranInterfaces.h"

Go to the source code of this file.

Classes

class  CLESLog
struct  CLESLog::ldtype

Defines

#define CLESLOG_MSGMAXLEN   256
#define CLESLOG_KEYMAXLEN   24
#define CLESLOG_MAXINDENT   100
#define CLESLOG_HEADERLEN   72
#define CLESLOG_DEBUG   0
#define CLESLOG_WARNING   1
#define CLESLOG_ERROR   2
#define CLESLOG_CBC   1
#define CLESLOG_CBC_EIGENSYSTEM   1
#define CLESLOG_CBC_REFPRESSURE   2
#define CLESLOG_ROE   2
#define CLESLOG_ROE_STATES   1
#define CLESLOG_TCD   3
#define CLESLOG_TCD_STENCIL   1
#define f_cleslog_active   FORTRAN_NAME_(cleslog_active, CLESLOG_ACTIVE)
#define f_cleslog_activate   FORTRAN_NAME_(cleslog_activate, CLESLOG_ACTIVATE)
#define f_cleslog_log   FORTRAN_NAME_(cleslog_log, CLESLOG_LOG)
#define f_cleslog_log_flush   FORTRAN_NAME_(cleslog_log_flush, CLESLOG_LOG)
#define f_cleslog_trace_enter   FORTRAN_NAME_(cleslog_trace_enter, CLESLOG_TRACE_ENTER)
#define f_cleslog_trace_exit   FORTRAN_NAME_(cleslog_trace_exit, CLESLOG_TRACE_EXIT)

Functions

int FORTRAN_NAME_ (cleslog_active, CLESLOG_ACTIVE)(int &module
 if (me.active_log==false) return 0
 if ((p=me.lookup(module, loc))==NULL) return 0
 if (p->_active==false) return 0
me mark (p)
me header ()
 switch (me.requested_last[me.log_indent]->_lev)
 for (comm_service::log()<< header<< me.requested_last[me.log_indent]->_msg<< "\n").flush()
int FORTRAN_NAME_ (cleslog_activate, CLESLOG_ACTIVATE)(int &module

Variables

int int &loc CLESLog me
CLESLog::ldtypep
const char * header
 return

Define Documentation

#define CLESLOG_CBC   1
#define CLESLOG_CBC_EIGENSYSTEM   1
#define CLESLOG_CBC_REFPRESSURE   2
#define CLESLOG_DEBUG   0

Referenced by switch().

#define CLESLOG_ERROR   2

Referenced by switch().

#define CLESLOG_HEADERLEN   72

Referenced by CLESLog::header().

#define CLESLOG_KEYMAXLEN   24
#define CLESLOG_MAXINDENT   100

Referenced by CLESLog::initialize().

#define CLESLOG_MSGMAXLEN   256
#define CLESLOG_ROE   2
#define CLESLOG_ROE_STATES   1
#define CLESLOG_TCD   3
#define CLESLOG_TCD_STENCIL   1
#define CLESLOG_WARNING   1

Referenced by switch().

#define f_cleslog_activate   FORTRAN_NAME_(cleslog_activate, CLESLOG_ACTIVATE)
#define f_cleslog_active   FORTRAN_NAME_(cleslog_active, CLESLOG_ACTIVE)
#define f_cleslog_log   FORTRAN_NAME_(cleslog_log, CLESLOG_LOG)
#define f_cleslog_log_flush   FORTRAN_NAME_(cleslog_log_flush, CLESLOG_LOG)
#define f_cleslog_trace_enter   FORTRAN_NAME_(cleslog_trace_enter, CLESLOG_TRACE_ENTER)
#define f_cleslog_trace_exit   FORTRAN_NAME_(cleslog_trace_exit, CLESLOG_TRACE_EXIT)

Function Documentation

for ( comm_service::log()<< header<< me.requested_last->_msg<< "\n"  [me.log_indent]  ) 
int FORTRAN_NAME_ ( cleslog_activate  ,
CLESLOG_ACTIVATE   
)
int FORTRAN_NAME_ ( cleslog_active  ,
CLESLOG_ACTIVE   
)
me header (  ) 
if ( p->  _active = =false  ) 
if ( (p=me.lookup(module, loc))  = =NULL  ) 
if ( me.  active_log = =false  ) 
me mark ( p   ) 
switch ( me.requested_last->  _lev[me.log_indent]  ) 

Variable Documentation

const char* header
int int& loc CLESLog me