oomph_definitions.h File Reference
#include <stdexcept>
#include <iostream>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  oomph::OomphLibQuietException
 
class  oomph::OomphLibException
 
class  oomph::OomphLibError
 
class  oomph::OomphLibWarning
 
class  oomph::Nullstream
 A small nullstream class that throws away everything sent to it. More...
 
class  oomph::OutputModifier
 
class  oomph::OomphInfo
 

Namespaces

 oomph
 DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
 
 oomph::Global_timings
 
 oomph::TerminateHelper
 
 oomph::Global_output_stream
 
 oomph::Global_unsigned
 
 oomph::Global_string_for_annotation
 

Macros

#define OOMPH_MAKE_STRING(x)   #x
 
#define OOMPH_TO_STRING(x)   OOMPH_MAKE_STRING(x)
 
#define OOMPH_EXCEPTION_LOCATION   __FILE__ ":" OOMPH_TO_STRING(__LINE__)
 
#define OOMPH_CURRENT_FUNCTION   "[Unknown function -- unrecognised compiler]"
 

Functions

void oomph::TerminateHelper::setup ()
 Setup terminate helper. More...
 
void oomph::TerminateHelper::suppress_exception_error_messages ()
 Suppress error messages (e.g. because error has been caught) More...
 
void oomph::TerminateHelper::spawn_errors_from_uncaught_errors ()
 Function to spawn messages from uncaught errors. More...
 
void oomph::TerminateHelper::clean_up_memory ()
 
std::string oomph::Global_string_for_annotation::string (const unsigned &i)
 

Macro Definition Documentation

◆ OOMPH_CURRENT_FUNCTION

#define OOMPH_CURRENT_FUNCTION   "[Unknown function -- unrecognised compiler]"

◆ OOMPH_EXCEPTION_LOCATION

#define OOMPH_EXCEPTION_LOCATION   __FILE__ ":" OOMPH_TO_STRING(__LINE__)

◆ OOMPH_MAKE_STRING

#define OOMPH_MAKE_STRING (   x)    #x

◆ OOMPH_TO_STRING

#define OOMPH_TO_STRING (   x)    OOMPH_MAKE_STRING(x)