KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Classes | Namespaces
exception.h File Reference
#include <stdexcept>
#include <string>
#include <iostream>
#include <sstream>
#include <vector>
#include "includes/kratos_export_api.h"
#include "includes/code_location.h"
#include "utilities/stl_vector_io.h"
Include dependency graph for exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Kratos::Exception
 Extends the std::exception class with more information about error location. More...
 

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 

Macros

Kratos Macros
#define KRATOS_ERROR   throw Kratos::Exception("Error: ", KRATOS_CODE_LOCATION)
 
#define KRATOS_ERROR_IF(conditional)   if(conditional) KRATOS_ERROR
 
#define KRATOS_ERROR_IF_NOT(conditional)   if(!(conditional)) KRATOS_ERROR
 
#define KRATOS_DEBUG_ERROR   if(false) KRATOS_ERROR
 
#define KRATOS_DEBUG_ERROR_IF(conditional)   if(false) KRATOS_ERROR_IF(conditional)
 
#define KRATOS_DEBUG_ERROR_IF_NOT(conditional)   if(false) KRATOS_ERROR_IF_NOT(conditional)
 

Functions

Input and output
std::istream & Kratos::operator>> (std::istream &rIStream, Exception &rThis)
 input stream function More...
 
std::ostream & Kratos::operator<< (std::ostream &rOStream, const Exception &rThis)
 output stream function More...