https://mooseframework.inl.gov
Loading...
Searching...
No Matches
EFAError.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12// This is the only dependency that ElementFragmentAlgorithm has on MOOSE (or libMesh)
13// To compile standalone, uncomment the following lines and fix the banned keyword that
14// has spaces in it:
15
16// #include <iostream>
17// #define EFAError(msg) do {std::c o u t, "CutElemMesh ERROR: ", msg, std::endl; exit(1);} while
18// (0) #define EFAWarning(msg) do {std::c o u t<<"CutElemMesh WARNING: "<<msg<<std::endl;} while (0)
19
20// This version just calls MooseError for error reporting, which is preferred if this is run
21// within the MOOSE environment:
22#include "MooseError.h"
23#define EFAError(...) mooseError(__VA_ARGS__)
24#define EFAWarning(...) mooseWarning(__VA_ARGS__)