Namespaces | Functions | Variables
oomph_definitions.cc File Reference

Go to the source code of this file.

Namespaces

 oomph
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 
 oomph::Global_timings
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 
 oomph::TerminateHelper
 ////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////
 
 oomph::Global_output_stream
 ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
 
 oomph::Global_unsigned
 ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
 
 oomph::Global_string_for_annotation
 ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
 

Functions

void oomph::TerminateHelper::setup ()
 Setup terminate helper. More...
 
void oomph::TerminateHelper::suppress_exception_error_messages ()
 Flush string stream of error messages (call when 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 ()
 Clean up function that deletes anything dynamically allocated in this namespace. More...
 
std::string oomph::Global_string_for_annotation::string (const unsigned &i)
 Return the i-th string or "" if the relevant string hasn't been defined. More...
 

Variables

bool oomph::Global_timings::Doc_comprehensive_timings = false
 Global boolean to switch on comprehensive timing – can probably be declared const false when development on hector is complete. More...
 
std::ostream * oomph::TerminateHelper::Error_message_stream_pt = &std::cerr
 Stream to output error messages. More...
 
std::stringstream * oomph::TerminateHelper::Exception_stringstream_pt = 0
 String stream that records the error message. More...
 
std::ofstream * oomph::Global_output_stream::Outfile = 0
 Output stream. More...
 
unsigned oomph::Global_unsigned::Number = 0
 The unsigned. More...
 
std::vector< std::string > oomph::Global_string_for_annotation::String
 Storage for strings that may be used for global annotations. This is global data and you use it at your own risk! More...
 
Nullstream oomph::oomph_nullstream
 ///////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////// More...
 
OomphInfo oomph::oomph_info
 Single (global) instantiation of the OomphInfo object – this is used throughout the library as a "replacement" for std::cout. More...
 
OutputModifier oomph::default_output_modifier
 Single global instatiation of the default output modifier. More...