9 #ifndef COMMANDLINEPROCESSOR
10 #define COMMANDLINEPROCESSOR
33 for (
int i = 1; i < argc; ++i) {
35 if (std::string(args[i]) ==
"--p") {
36 order = atoi(args[i+1]);
37 }
else if (std::string(args[i]) ==
"--d") {
39 }
else if (std::string(args[i]) ==
"--nt") {
41 }
else if (std::string(args[i]) ==
"--ns") {
43 }
else if (std::string(args[i]) ==
"--nb") {
45 }
else if (std::string(args[i]) ==
"--solver") {
47 }
else if (std::string(args[i]) ==
"--problem") {
49 }
else if (std::string(args[i]) ==
"--constraint") {
51 }
else if (std::string(args[i]) ==
"--kernel-type") {
53 }
else if (std::string(args[i]) ==
"--curvature-kernel-type") {
60 std::cout <<
"************************************************************************" << std::endl;
63 std::cout <<
"************************************************************************" << std::endl;
WeightingFunctionType
Available weighting kernel function types.
CommandLineProcessor(int argc, char *args[], const bool print=true)
Compadre::WeightingFunctionType curvature_kernel_type
Compadre::WeightingFunctionType kernel_type
static WeightingFunctionType translateWeightingType(const std::string &wt)
Type for weighting kernel for GMLS problem.
std::string constraint_name