* {
* // Insert simulation code here
* }
- * @code
+ * @endcode
*
* In the above example the time starts at $t = 0$. Assuming the time step
* $dt = 0.3$ is not modified inside the loop, the time is advanced to
/* -------------- declaration of explicit specializations ------------- */
+#ifndef DOXYGEN
template <>
QGauss<1>::QGauss(const unsigned int n);
template <>
template <>
QTelles<1>::QTelles(const Quadrature<1> &base_quad,
const Point<1> & singularity);
+#endif // DOXYGEN
DEAL_II_NAMESPACE_CLOSE
-
#endif
}
-template <int rank, int dim, typename Number>
-constexpr unsigned int Tensor<rank, dim, Number>::n_independent_components;
+template <int rank_, int dim, typename Number>
+constexpr unsigned int Tensor<rank_, dim, Number>::n_independent_components;
/* ----------------- Non-member functions operating on tensors. ------------ */
* @param[in] weighting_function The function that determines each
* cell's weight during load balancing.
*/
- CellWeights(const dealii::hp::DoFHandler<dim, spacedim> &dof_handler,
- const WeightingFunction &weighting_function);
+ CellWeights(const hp::DoFHandler<dim, spacedim> &dof_handler,
+ const WeightingFunction & weighting_function);
/**
* Destructor.
* determine each cell's finite element.
*/
DEAL_II_DEPRECATED
- CellWeights(const dealii::hp::DoFHandler<dim, spacedim> &dof_handler);
+ CellWeights(const hp::DoFHandler<dim, spacedim> &dof_handler);
/**
* @copydoc CellWeights::constant_weighting()
write_msh_lines(const Triangulation<1, 2> &tria,
const unsigned int next_element_index,
std::ostream & out) const;
+
+ /**
+ * Declaration of the specialization of above function for 1d, 3sd. Does
+ * nothing.
+ */
unsigned int
write_msh_lines(const Triangulation<1, 3> &tria,
const unsigned int next_element_index,
write_ucd_lines(const Triangulation<1, 2> &tria,
const unsigned int next_element_index,
std::ostream & out) const;
+ /**
+ * Declaration of the specialization of above function for 1d, 3sd. Does
+ * nothing.
+ */
unsigned int
write_ucd_lines(const Triangulation<1, 3> &tria,
const unsigned int next_element_index,
*/
unsigned int
n_boundary_faces(const Triangulation<1, 2> &tria) const;
+
+ /**
+ * Declaration of the specialization of above function for 1d, 3sd. Simply
+ * returns zero.
+ */
unsigned int
n_boundary_faces(const Triangulation<1, 3> &tria) const;
*/
unsigned int
n_boundary_lines(const Triangulation<1, 2> &tria) const;
+
+ /**
+ * Declaration of the specialization of above function for 1d, 3sd. Simply
+ * returns zero.
+ */
unsigned int
n_boundary_lines(const Triangulation<1, 3> &tria) const;
/**
* Constructor. Initialize this object with the given parameters.
*/
- FEValues(
- const dealii::hp::MappingCollection<dim, spacedim> &mapping_collection,
- const dealii::hp::FECollection<dim, spacedim> & fe_collection,
- const dealii::hp::QCollection<dim> & q_collection,
- const UpdateFlags update_flags);
+ FEValues(const MappingCollection<dim, spacedim> &mapping_collection,
+ const FECollection<dim, spacedim> & fe_collection,
+ const QCollection<dim> & q_collection,
+ const UpdateFlags update_flags);
/**
* that it makes the object use a $Q_1$ mapping (i.e., an object of type
* MappingQGeneric(1)) implicitly.
*/
- FEValues(const hp::FECollection<dim, spacedim> &fe_collection,
- const hp::QCollection<dim> & q_collection,
- const UpdateFlags update_flags);
+ FEValues(const FECollection<dim, spacedim> &fe_collection,
+ const QCollection<dim> & q_collection,
+ const UpdateFlags update_flags);
/**
public:
/**
* The constructor takes an OpenCASCADE TopoDS_Face @p face and an optional
- * @p tolerance. This class uses the interval OpenCASCADE variables @var u,
- * @var v to describe the manifold.
+ * @p tolerance. This class uses the interval OpenCASCADE variables u, v
+ * to describe the manifold.
*/
NURBSPatchManifold(const TopoDS_Face &face, const double tolerance = 1e-7);
// ------------------ explicit instantiations --------------- //
+#ifndef DOXYGEN
namespace Polynomials
{
template class Polynomial<float>;
template class Monomial<double>;
template class Monomial<long double>;
} // namespace Polynomials
+#endif // DOXYGEN
DEAL_II_NAMESPACE_CLOSE
{}
- Expression::Expression(const SE::integer_class &value)
+ Expression::Expression(const SymEngine::integer_class &value)
: expression(value)
{}
- Expression::Expression(const SE::rational_class &value)
+ Expression::Expression(const SymEngine::rational_class &value)
: expression(value)
{}
{}
- Expression::Expression(const SE::Expression &rhs)
+ Expression::Expression(const SymEngine::Expression &rhs)
: expression(rhs)
{}
- Expression::Expression(const SE::RCP<const SE::Basic> &rhs)
+ Expression::Expression(const SymEngine::RCP<const SymEngine::Basic> &rhs)
: expression(rhs)
{}
- Expression::Expression(SE::RCP<const SE::Basic> &&rhs)
+ Expression::Expression(SymEngine::RCP<const SymEngine::Basic> &&rhs)
: expression(rhs)
{}
Expression
- Expression::differentiate(const SE::RCP<const SE::Symbol> &symbol) const
+ Expression::differentiate(
+ const SymEngine::RCP<const SymEngine::Symbol> &symbol) const
{
return Expression(SE::diff(get_RCP(), symbol));
}
Expression
- Expression::differentiate(const SE::RCP<const SE::Basic> &symbol) const
+ Expression::differentiate(
+ const SymEngine::RCP<const SymEngine::Basic> &symbol) const
{
// Potential symbol
return Expression(SE::sdiff(get_RCP(), symbol));
/* ------------- Conversion operators ------------------------- */
- Expression::operator const SE::Expression &() const
+ Expression::operator const SymEngine::Expression &() const
{
return get_expression();
}
- Expression::operator const SE::RCP<const SE::Basic> &() const
+ Expression::operator const SymEngine::RCP<const SymEngine::Basic> &() const
{
return get_expression().get_basic();
}
template <int dim, int spacedim>
CellWeights<dim, spacedim>::CellWeights(
const hp::DoFHandler<dim, spacedim> &dof_handler,
- const typename CellWeights<dim, spacedim>::WeightingFunction
- &weighting_function)
+ const WeightingFunction & weighting_function)
{
reinit(dof_handler, weighting_function);
}
unsigned int
-GridOut::n_boundary_faces(const Triangulation<1> &) const
+GridOut::n_boundary_faces(const Triangulation<1, 1> &) const
{
return 0;
}
unsigned int
-GridOut::n_boundary_lines(const Triangulation<1> &) const
+GridOut::n_boundary_lines(const Triangulation<1, 1> &) const
{
return 0;
}
unsigned int
-GridOut::write_msh_lines(const Triangulation<2> &,
+GridOut::write_msh_lines(const Triangulation<2, 2> &,
const unsigned int next_element_index,
std::ostream &) const
{
unsigned int
-GridOut::write_ucd_lines(const Triangulation<2> &,
+GridOut::write_ucd_lines(const Triangulation<2, 2> &,
const unsigned int next_element_index,
std::ostream &) const
{
template <int dim, int q_dim, class FEValuesType>
FEValuesBase<dim, q_dim, FEValuesType>::FEValuesBase(
- const dealii::hp::MappingCollection<dim, FEValuesType::space_dimension>
- &mapping_collection,
- const dealii::hp::FECollection<dim, FEValuesType::space_dimension>
- & fe_collection,
- const dealii::hp::QCollection<q_dim> &q_collection,
- const UpdateFlags update_flags)
+ const MappingCollection<dim, FEValuesType::space_dimension>
+ & mapping_collection,
+ const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
+ const QCollection<q_dim> & q_collection,
+ const UpdateFlags update_flags)
: fe_collection(&fe_collection)
, mapping_collection(&mapping_collection)
, q_collection(q_collection)
template <int dim, int q_dim, class FEValuesType>
FEValuesBase<dim, q_dim, FEValuesType>::FEValuesBase(
- const dealii::hp::FECollection<dim, FEValuesType::space_dimension>
- & fe_collection,
- const dealii::hp::QCollection<q_dim> &q_collection,
- const UpdateFlags update_flags)
+ const FECollection<dim, FEValuesType::space_dimension> &fe_collection,
+ const QCollection<q_dim> & q_collection,
+ const UpdateFlags update_flags)
: fe_collection(&fe_collection)
, mapping_collection(
&dealii::hp::StaticMappingQ1<dim, FEValuesType::space_dimension>::
template <int dim, int spacedim>
FEValues<dim, spacedim>::FEValues(
- const hp::MappingCollection<dim, spacedim> &mapping,
- const hp::FECollection<dim, spacedim> & fe_collection,
- const hp::QCollection<dim> & q_collection,
- const UpdateFlags update_flags)
+ const MappingCollection<dim, spacedim> &mapping,
+ const FECollection<dim, spacedim> & fe_collection,
+ const QCollection<dim> & q_collection,
+ const UpdateFlags update_flags)
: hp::FEValuesBase<dim, dim, dealii::FEValues<dim, spacedim>>(mapping,
fe_collection,
q_collection,
template <int dim, int spacedim>
FEValues<dim, spacedim>::FEValues(
- const hp::FECollection<dim, spacedim> &fe_collection,
- const hp::QCollection<dim> & q_collection,
- const UpdateFlags update_flags)
+ const FECollection<dim, spacedim> &fe_collection,
+ const QCollection<dim> & q_collection,
+ const UpdateFlags update_flags)
: hp::FEValuesBase<dim, dim, dealii::FEValues<dim, spacedim>>(fe_collection,
q_collection,
update_flags)
#include "block_vector.inst"
+#ifndef DOXYGEN
// these functions can't be generated by the preprocessor since
// the template arguments need to be different
template BlockVector<double>::BlockVector(const BlockVector<float> &);
template BlockVector<float>::BlockVector(const BlockVector<double> &);
-#ifdef DEAL_II_WITH_COMPLEX_VALUES
+# ifdef DEAL_II_WITH_COMPLEX_VALUES
template BlockVector<std::complex<double>>::BlockVector(
const BlockVector<std::complex<float>> &);
template BlockVector<std::complex<float>>::BlockVector(
const BlockVector<std::complex<double>> &);
+# endif
#endif
DEAL_II_NAMESPACE_CLOSE
+#ifndef DOXYGEN
// explicit instantiations
template void
ChunkSparsityPattern::copy_from<DynamicSparsityPattern>(
template void
ChunkSparsityPattern::copy_from<double>(const FullMatrix<double> &,
const size_type);
+#endif
DEAL_II_NAMESPACE_CLOSE