void TestCases<dim>::declare_parameters (ParameterHandler &prm) {
if (dim>=2)
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("zoom in|ball|curved line|random"));
+ Patterns::Selection("zoom in|ball|curved line|random"));
else
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("zoom in|random"));
+ Patterns::Selection("zoom in|random"));
prm.declare_entry ("Grid file", "grid.1");
prm.declare_entry ("Sparsity file", "sparsity.1");
prm.declare_entry ("Condensed sparsity file", "sparsity.c.1");
template <int dim>
void PoissonProblem<dim>::declare_parameters (ParameterHandler &prm) {
prm.declare_entry ("Test case", "Gauss shape",
- Patterns::Sequence("Gauss shape|Singular|Kink"));
+ Patterns::Selection("Gauss shape|Singular|Kink"));
prm.declare_entry ("Initial refinement", "2",
Patterns::Integer());
prm.declare_entry ("Refinement criterion", "estimated error",
- Patterns::Sequence("global|true error|estimated error"));
+ Patterns::Selection("global|true error|estimated error"));
prm.declare_entry ("Refinement fraction", "0.3",
Patterns::Double());
prm.declare_entry ("Coarsening fraction", "0.1",
Patterns::Integer());
prm.declare_entry ("Output base filename", "");
prm.declare_entry ("Output format", "ucd",
- Patterns::Sequence("ucd|gnuplot"));
+ Patterns::Selection("ucd|gnuplot"));
};
void PoissonProblem<dim>::declare_parameters (ParameterHandler &prm) {
if (dim>=2)
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("tensor|zoom in|ball|curved line|"
+ Patterns::Selection("tensor|zoom in|ball|curved line|"
"random|jump|L-region"));
else
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("tensor|zoom in|random"));
+ Patterns::Selection("tensor|zoom in|random"));
prm.declare_entry ("Global refinement", "0",
Patterns::Integer());
prm.declare_entry ("Right hand side", "zero",
- Patterns::Sequence("zero|constant|trigpoly|poly"));
+ Patterns::Selection("zero|constant|trigpoly|poly"));
prm.declare_entry ("Boundary values", "zero",
- Patterns::Sequence("zero|sine|jump"));
+ Patterns::Selection("zero|sine|jump"));
prm.declare_entry ("Output file", "gnuplot.1");
};
void TestCases<dim>::declare_parameters (ParameterHandler &prm) {
if (dim>=2)
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("zoom in|ball|curved line|random"));
+ Patterns::Selection("zoom in|ball|curved line|random"));
else
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("zoom in|random"));
+ Patterns::Selection("zoom in|random"));
prm.declare_entry ("Grid file", "grid.1");
prm.declare_entry ("Sparsity file", "sparsity.1");
prm.declare_entry ("Condensed sparsity file", "sparsity.c.1");
template <int dim>
void PoissonProblem<dim>::declare_parameters (ParameterHandler &prm) {
prm.declare_entry ("Test case", "Gauss shape",
- Patterns::Sequence("Gauss shape|Singular|Kink"));
+ Patterns::Selection("Gauss shape|Singular|Kink"));
prm.declare_entry ("Initial refinement", "2",
Patterns::Integer());
prm.declare_entry ("Refinement criterion", "estimated error",
- Patterns::Sequence("global|true error|estimated error"));
+ Patterns::Selection("global|true error|estimated error"));
prm.declare_entry ("Refinement fraction", "0.3",
Patterns::Double());
prm.declare_entry ("Coarsening fraction", "0.1",
Patterns::Integer());
prm.declare_entry ("Output base filename", "");
prm.declare_entry ("Output format", "ucd",
- Patterns::Sequence("ucd|gnuplot"));
+ Patterns::Selection("ucd|gnuplot"));
};
void PoissonProblem<dim>::declare_parameters (ParameterHandler &prm) {
if (dim>=2)
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("tensor|zoom in|ball|curved line|"
+ Patterns::Selection("tensor|zoom in|ball|curved line|"
"random|jump|L-region"));
else
prm.declare_entry ("Test run", "zoom in",
- Patterns::Sequence("tensor|zoom in|random"));
+ Patterns::Selection("tensor|zoom in|random"));
prm.declare_entry ("Global refinement", "0",
Patterns::Integer());
prm.declare_entry ("Right hand side", "zero",
- Patterns::Sequence("zero|constant|trigpoly|poly"));
+ Patterns::Selection("zero|constant|trigpoly|poly"));
prm.declare_entry ("Boundary values", "zero",
- Patterns::Sequence("zero|sine|jump"));
+ Patterns::Selection("zero|sine|jump"));
prm.declare_entry ("Output file", "gnuplot.1");
};