www.mooseframework.org
EFAError.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 // This is the only dependency that ElementFragmentAlgorithm has on MOOSE (or libMesh)
9 // To compile standalone, uncomment the following lines and fix the banned keyword that
10 // has spaces in it:
11 
12 //#include <iostream>
13 //#define EFAError(msg) do {std::c o u t, "CutElemMesh ERROR: ", msg, std::endl; exit(1);} while (0)
14 //#define EFAWarning(msg) do {std::c o u t<<"CutElemMesh WARNING: "<<msg<<std::endl;} while (0)
15 
16 // This version just calls MooseError for error reporting, which is preferred if this is run
17 // within the MOOSE environment:
18 #include "MooseError.h"
19 #define EFAError(...) mooseError(__VA_ARGS__)
20 #define EFAWarning(...) mooseWarning(__VA_ARGS__)