* output point <tt>j</tt>, where <tt>j</tt> denotes the usual
* lexicographic ordering in deal.II. This is also the order of points as
* provided by the <tt>QIterated</tt> class when used with the
- * <tt>QTrapez</tt> class as subquadrature.
+ * <tt>QTrapezoid</tt> class as subquadrature.
*
* Since the number of data vectors is usually the same for all patches to
* be printed, <tt>data.size()</tt> should yield the same value for all
/**
* This class implements the quadrature rule passed to its constructor as a
* string. Supported quadratures are QGauss (of all orders), QMidpoint,
- * QMilne, QSimpson, QTrapez and QWeddle.
+ * QMilne, QSimpson, QTrapezoid and QWeddle.
*
* This class is useful if you want to use flexible quadrature rules, that are
* read from a parameter file (see ParameterHandler for this).
* <tt>FE_Q<dim>(QGaussLobatto<1>(fe_degree+1))</tt> is equivalent to the
* constructor that specifies the polynomial degree only. For selecting
* equidistant nodes at <tt>fe_degree > 2</tt>, construct
- * <tt>FE_Q<dim>(QIterated<1>(QTrapez<1>(),fe_degree))</tt>.
+ * <tt>FE_Q<dim>(QIterated<1>(QTrapezoid<1>(),fe_degree))</tt>.
*/
FE_Q(const Quadrature<1> &points);
// find sub-quadrature
position = name.find('(');
const std::string subquadrature_name(name, 0, position);
- AssertThrow(subquadrature_name.compare("QTrapez") == 0,
+ AssertThrow(subquadrature_name.compare("QTrapezoid") == 0,
ExcNotImplemented(
"Could not detect quadrature of name " +
subquadrature_name));
- // delete "QTrapez(),"
+ // delete "QTrapezoid(),"
name.erase(0, position + 3);
const std::pair<int, unsigned int> tmp =
Utilities::get_integer_at_position(name, 0);
const FETools::FEFactoryBase<dim, spacedim> *fef =
dynamic_cast<
const FETools::FEFactoryBase<dim, spacedim> *>(ptr);
- return fef->get(QIterated<1>(QTrapez<1>(), tmp.first));
+ return fef->get(QIterated<1>(QTrapezoid<1>(), tmp.first));
}
else
{
if (do_hex)
{
quadrature2.reset(new Quadrature<dim>(
- QIterated<dim>(QTrapez<1>(), n_subdivisions)));
+ QIterated<dim>(QTrapezoid<1>(), n_subdivisions)));
}
n_q_points = std::max(do_simplex ? quadrature1->size() : 0,
else
{
dealii::hp::QCollection<dim - 1> quadrature(
- QIterated<dim - 1>(QTrapez<1>(), n_subdivisions));
+ QIterated<dim - 1>(QTrapezoid<1>(), n_subdivisions));
n_q_points = quadrature[0].size();
x_fe_face_values.resize(this->finite_elements.size());
for (unsigned int i = 0; i < this->finite_elements.size(); ++i)
if (do_hex)
{
quadrature2.reset(new Quadrature<dim>(
- QIterated<dim>(QTrapez<1>(), n_subdivisions)));
+ QIterated<dim>(QTrapezoid<1>(), n_subdivisions)));
}
x_fe_values.resize(this->finite_elements.size());
else
{
dealii::hp::QCollection<dim - 1> quadrature(
- QIterated<dim - 1>(QTrapez<1>(), n_subdivisions));
+ QIterated<dim - 1>(QTrapezoid<1>(), n_subdivisions));
x_fe_face_values.resize(this->finite_elements.size());
for (unsigned int i = 0; i < this->finite_elements.size(); ++i)
{
else if (s == "simpson")
return QSimpson<dim>();
else if (s == "trapez")
- return QTrapez<dim>();
+ return QTrapezoid<dim>();
else if (s == "weddle")
return QWeddle<dim>();
}
spacedim>::ExcInterpolationNotImplemented()));
const Quadrature<dim - 1> quad_face_support(
- FE_Q<dim, spacedim>(QIterated<1>(QTrapez<1>(), source_fe->degree))
+ FE_Q<dim, spacedim>(QIterated<1>(QTrapezoid<1>(), source_fe->degree))
.get_unit_face_support_points(face_no));
// Rule of thumb for FP accuracy, that can be expected for a given
if (this->degree > 2)
namebuf << "FE_DGQArbitraryNodes<"
<< Utilities::dim_string(dim, spacedim)
- << ">(QIterated(QTrapez()," << this->degree << "))";
+ << ">(QIterated(QTrapezoid()," << this->degree << "))";
else
namebuf << "FE_DGQ<" << Utilities::dim_string(dim, spacedim) << ">("
<< this->degree << ")";
{
if (this->degree > 2)
namebuf << "FE_Q<" << Utilities::dim_string(dim, spacedim)
- << ">(QIterated(QTrapez()," << this->degree << "))";
+ << ">(QIterated(QTrapezoid()," << this->degree << "))";
else
namebuf << "FE_Q<" << Utilities::dim_string(dim, spacedim) << ">("
<< this->degree << ")";
{
if (this->degree > 3)
namebuf << "FE_Q_Bubbles<" << Utilities::dim_string(dim, spacedim)
- << ">(QIterated(QTrapez()," << this->degree - 1 << "))";
+ << ">(QIterated(QTrapezoid()," << this->degree - 1 << "))";
else
namebuf << "FE_Q_Bubbles<" << Utilities::dim_string(dim, spacedim)
<< ">(" << this->degree - 1 << ")";
{
if (this->degree > 2)
namebuf << "FE_Q_DG0<" << Utilities::dim_string(dim, spacedim)
- << ">(QIterated(QTrapez()," << this->degree << "))";
+ << ">(QIterated(QTrapezoid()," << this->degree << "))";
else
namebuf << "FE_Q_DG0<" << Utilities::dim_string(dim, spacedim) << ">("
<< this->degree << ")";
ExcMessage("This element can only be used with a positive number of "
"subelements"));
- QTrapez<1> trapez;
- QIterated<1> points(trapez, subdivisions);
+ QTrapezoid<1> trapez;
+ QIterated<1> points(trapez, subdivisions);
this->initialize(points.get_points());
}
// patch, and an object that
// extracts the data on each
// cell to these points
- QTrapez<1> q_trapez;
+ QTrapezoid<1> q_trapez;
QIterated<dim> patch_points(q_trapez, n_subdivisions);
// create collection objects from
for (unsigned int c = 0; c < n_components; ++c)
coefficient_values(c) = 1;
- const QTrapez<1> quadrature;
+ const QTrapezoid<1> quadrature;
const hp::QCollection<1> q_collection(quadrature);
const QGauss<0> face_quadrature(1);
const hp::QCollection<0> q_face_collection(face_quadrature);