Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
parameters_multiphysics.cc File Reference
#include <core/parameters_multiphysics.h>
#include <core/utilities.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/parameter_handler.h>
#include <deal.II/base/parsed_function.h>
#include <deal.II/base/utilities.h>
#include <algorithm>
#include <cctype>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for parameters_multiphysics.cc:

Go to the source code of this file.

Namespaces

namespace  Parameters

Functions

 DeclException1 (SharpeningThresholdError, double,<< "Sharpening threshold : "<< arg1<< " is smaller than 0 or larger than 1."<< std::endl<< "Projection-based interface sharpening model requires a sharpening threshold between 0 and 1.")
 DeclException1 (SharpeningThresholdErrorMaxDeviation, double,<< "Sharpening threshold max deviation : "<< arg1<< " is smaller than 0 or larger than 0.5."<< std::endl<< "Adaptive projection-based interface sharpening requires a maximum deviation of the"<< " sharpening threshold between 0.0 and 0.5. See documentation for further details")
 DeclException1 (ReinitializationMethodFrequencyError, int,<< "Reinitialization method frequency : "<< arg1<< " is equal or smaller than 0."<< std::endl<< "Interface reinitialization method requires an frequency larger than 0.")
 DeclException2 (QMOMScalarNamesCountError, std::size_t, unsigned int,<< "The \"scalar names\" of the QMOM subsection has "<< arg1<< " names, but the \"number of scalars\" is "<< arg2<< "."<< std::endl<< "Give one name per scalar, or no name to use scalar_0, scalar_1, ...")
 DeclException1 (QMOMScalarNameError, std::string,<< "The scalar name \""<< arg1<< "\" of the QMOM subsection is invalid."<< std::endl<< "Scalar names may only contain letters, digits and underscores.")
 DeclException2 (QMOMProcessConflictError, std::string, std::string,<< "The \""<< arg1<< "\" of the QMOM subsection contradicts the \""<< arg2<< "\" process, which imposes it."<< std::endl<< "Remove \""<< arg1<< "\" from the parameter file, or set the "<< "process to generic.")
 DeclException3 (QMOMDistributionExpressionsCountError, std::string, unsigned int, unsigned int,<< "The \""<< arg1<< "\" particle size distribution of the QMOM physics expects "<< arg2<< " expressions, but "<< arg3<< " are given."<< std::endl<< "Give the number density, in particles per m^3, followed by the "<< "parameters of the distribution.")

Function Documentation

◆ DeclException1() [1/4]

DeclException1 ( QMOMScalarNameError ,
std::string ,
<< "The scalar name \""<< arg1<< "\" of the QMOM subsection is invalid."<< std::endl<< "Scalar names may only contain letters,
digits and underscores."  )

◆ DeclException1() [2/4]

DeclException1 ( ReinitializationMethodFrequencyError ,
int ,
<< "Reinitialization method frequency : "<< arg1<< " is equal or smaller than 0."<< std::endl<< "Interface reinitialization method requires an frequency larger than 0."  )

◆ DeclException1() [3/4]

DeclException1 ( SharpeningThresholdError ,
double ,
<< "Sharpening threshold : "<< arg1<< " is smaller than 0 or larger than 1."<< std::endl<< "Projection-based interface sharpening model requires a sharpening threshold between 0 and 1."  )

◆ DeclException1() [4/4]

DeclException1 ( SharpeningThresholdErrorMaxDeviation ,
double ,
<< "Sharpening threshold max deviation : "<< arg1<< " is smaller than 0 or larger than 0.5."<< std::endl<< "Adaptive projection-based interface sharpening requires a maximum deviation of the"<< " sharpening threshold between 0.0 and 0.5. See documentation for further details"  )

◆ DeclException2() [1/2]

DeclException2 ( QMOMProcessConflictError ,
std::string ,
std::string ,
<< "The \""<< arg1<< "\" of the QMOM subsection contradicts the \""<< arg2<< "\" process,
which imposes it."<< std::endl<< "Remove \""<< arg1<< "\" from the parameter file,
or set the "<< "process to generic."  )

◆ DeclException2() [2/2]

DeclException2 ( QMOMScalarNamesCountError ,
std::size_t ,
unsigned int ,
<< "The \"scalar names\" of the QMOM subsection has "<< arg1<< " names,
but the \"number of scalars\" is "<< arg2<< "."<< std::endl<< "Give one name per scalar,
or no name to use scalar_0,
scalar_1 ,
..."  )

◆ DeclException3()

DeclException3 ( QMOMDistributionExpressionsCountError ,
std::string ,
unsigned int ,
unsigned int ,
<< "The \""<< arg1<< "\" particle size distribution of the QMOM physics expects "<< arg2<< " expressions,
but "<< arg3<< " are given."<< std::endl<< "Give the number density,
in particles per m^ 3,
followed by the "<< "parameters of the distribution."  )