14#ifndef lethe_exceptions_h
15#define lethe_exceptions_h
17#include <deal.II/base/exceptions.h>
33 <<
"'number of solids = " << arg1 <<
"' but " << arg2
34 <<
" solver does not support nitsche restriction. Use " << arg3
35 <<
" solver instead.");
46 <<
"No solid defined: impossible to assemble nitsche restriction in " << arg1
47 <<
" solver. Change the 'number of solids' parameter.");
57 <<
"No file name was given for the " << arg1
58 <<
". Specify it in the parameter file before running Lethe.");
70 <<
"The " << arg2 <<
" <" << arg1 <<
"> does not exist. "
71 <<
"Verify that its name is spelled correctly. Relative paths are "
72 <<
"interpreted from the directory in which the application was launched, "
73 <<
"not from the directory of the parameter file.");
86 <<
"The " << arg2 <<
" <" << arg1 <<
"> exists but could not be opened for "
87 <<
"reading. Verify that it is a file and not a directory, and that its "
88 <<
"permissions allow Lethe to read it.");
DeclException3(SolidWarning, unsigned int, std::string, std::string,<< "'number of solids = "<< arg1<< "' but "<< arg2<< " solver does not support nitsche restriction. Use "<< arg3<< " solver instead.")
Exception raised when a solver does not support Nitsche solid restriction but solids are defined in t...
DeclException2(FileDoesNotExist, std::string, std::string,<< "The "<< arg2<< " <"<< arg1<< "> does not exist. "<< "Verify that its name is spelled correctly. Relative paths are "<< "interpreted from the directory in which the application was launched, "<< "not from the directory of the parameter file.")
Exception raised when a file that Lethe must read does not exist.
DeclException1(NoSolidWarning, std::string,<< "No solid defined: impossible to assemble nitsche restriction in "<< arg1<< " solver. Change the 'number of solids' parameter.")
Exception raised when no solid is defined but the solver attempts to assemble a Nitsche restriction.