void create_system_matrix
(const DoFHandler<dim> &dof_handler,
const QGauss<dim> &quad,
- const std::function<Tensor<1, dim>(const Point<dim>)> convection_function,
+ const std::function<Tensor<1, dim>(const Point<dim>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
MatrixType &system_matrix);
void create_system_matrix
(const DoFHandler<dim> &dof_handler,
const QGauss<dim> &quad,
- const std::function<Tensor<1, dim>(const Point<dim>)> convection_function,
+ const std::function<Tensor<1, dim>(const Point<dim>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
const ConstraintMatrix &constraints,
void internal_create_system_matrix
(const DoFHandler<dim> &dof_handler,
const QGauss<dim> &quad,
- const std::function<Tensor<1, dim>(const Point<dim>)> convection_function,
+ const std::function<Tensor<1, dim>(const Point<dim>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
UpdateFunction update_system_matrix)
void create_system_matrix
(const DoFHandler<dim> &dof_handler,
const QGauss<dim> &quad,
- const std::function<Tensor<1, dim>(const Point<dim>)> convection_function,
+ const std::function<Tensor<1, dim>(const Point<dim>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
const ConstraintMatrix &constraints,
void create_system_matrix
(const DoFHandler<dim> &dof_handler,
const QGauss<dim> &quad,
- const std::function<Tensor<1, dim>(const Point<dim>)> convection_function,
+ const std::function<Tensor<1, dim>(const Point<dim>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
MatrixType &system_matrix)
void create_system_rhs
(const DoFHandler<dim> &dof_handler,
const QGauss<dim> &quad,
- const std::function<Tensor<1, dim>(const Point<dim>)> convection_function,
- const std::function<double(double, const Point<dim>)> forcing_function,
+ const std::function<Tensor<1, dim>(const Point<dim>)> &convection_function,
+ const std::function<double(double, const Point<dim>)> &forcing_function,
const CDR::Parameters ¶meters,
const VectorType &previous_solution,
const ConstraintMatrix &constraints,
void create_system_rhs
(const DoFHandler<dim> &dof_handler,
const QGauss<dim> &quad,
- const std::function<Tensor<1, dim>(const Point<dim>)> convection_function,
- const std::function<double(double, const Point<dim>)> forcing_function,
+ const std::function<Tensor<1, dim>(const Point<dim>)> &convection_function,
+ const std::function<double(double, const Point<dim>)> &forcing_function,
const CDR::Parameters ¶meters,
const VectorType &previous_solution,
const ConstraintMatrix &constraints,
void create_system_matrix<2, SparseMatrix<double>>
(const DoFHandler<2> &dof_handler,
const QGauss<2> &quad,
- const std::function<Tensor<1, 2>(const Point<2>)> convection_function,
+ const std::function<Tensor<1, 2>(const Point<2>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
SparseMatrix<double> &system_matrix);
void create_system_matrix<3, SparseMatrix<double>>
(const DoFHandler<3> &dof_handler,
const QGauss<3> &quad,
- const std::function<Tensor<1, 3>(const Point<3>)> convection_function,
+ const std::function<Tensor<1, 3>(const Point<3>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
SparseMatrix<double> &system_matrix);
void create_system_matrix<2, SparseMatrix<double>>
(const DoFHandler<2> &dof_handler,
const QGauss<2> &quad,
- const std::function<Tensor<1, 2>(const Point<2>)> convection_function,
+ const std::function<Tensor<1, 2>(const Point<2>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
const ConstraintMatrix &constraints,
void create_system_matrix<3, SparseMatrix<double>>
(const DoFHandler<3> &dof_handler,
const QGauss<3> &quad,
- const std::function<Tensor<1, 3>(const Point<3>)> convection_function,
+ const std::function<Tensor<1, 3>(const Point<3>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
const ConstraintMatrix &constraints,
void create_system_matrix<2, TrilinosWrappers::SparseMatrix>
(const DoFHandler<2> &dof_handler,
const QGauss<2> &quad,
- const std::function<Tensor<1, 2>(const Point<2>)> convection_function,
+ const std::function<Tensor<1, 2>(const Point<2>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
TrilinosWrappers::SparseMatrix &system_matrix);
void create_system_matrix<3, TrilinosWrappers::SparseMatrix>
(const DoFHandler<3> &dof_handler,
const QGauss<3> &quad,
- const std::function<Tensor<1, 3>(const Point<3>)> convection_function,
+ const std::function<Tensor<1, 3>(const Point<3>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
TrilinosWrappers::SparseMatrix &system_matrix);
void create_system_matrix<2, TrilinosWrappers::SparseMatrix>
(const DoFHandler<2> &dof_handler,
const QGauss<2> &quad,
- const std::function<Tensor<1, 2>(const Point<2>)> convection_function,
+ const std::function<Tensor<1, 2>(const Point<2>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
const ConstraintMatrix &constraints,
void create_system_matrix<3, TrilinosWrappers::SparseMatrix>
(const DoFHandler<3> &dof_handler,
const QGauss<3> &quad,
- const std::function<Tensor<1, 3>(const Point<3>)> convection_function,
+ const std::function<Tensor<1, 3>(const Point<3>)> &convection_function,
const CDR::Parameters ¶meters,
const double time_step,
const ConstraintMatrix &constraints,
void create_system_rhs<2, Vector<double>>
(const DoFHandler<2> &dof_handler,
const QGauss<2> &quad,
- const std::function<Tensor<1, 2>(const Point<2>)> convection_function,
- const std::function<double(double, const Point<2>)> forcing_function,
+ const std::function<Tensor<1, 2>(const Point<2>)> &convection_function,
+ const std::function<double(double, const Point<2>)> &forcing_function,
const CDR::Parameters ¶meters,
const Vector<double> &previous_solution,
const ConstraintMatrix &constraints,
void create_system_rhs<3, Vector<double>>
(const DoFHandler<3> &dof_handler,
const QGauss<3> &quad,
- const std::function<Tensor<1, 3>(const Point<3>)> convection_function,
- const std::function<double(double, const Point<3>)> forcing_function,
+ const std::function<Tensor<1, 3>(const Point<3>)> &convection_function,
+ const std::function<double(double, const Point<3>)> &forcing_function,
const CDR::Parameters ¶meters,
const Vector<double> &previous_solution,
const ConstraintMatrix &constraints,
void create_system_rhs<2, TrilinosWrappers::MPI::Vector>
(const DoFHandler<2> &dof_handler,
const QGauss<2> &quad,
- const std::function<Tensor<1, 2>(const Point<2>)> convection_function,
- const std::function<double(double, const Point<2>)> forcing_function,
+ const std::function<Tensor<1, 2>(const Point<2>)> &convection_function,
+ const std::function<double(double, const Point<2>)> &forcing_function,
const CDR::Parameters ¶meters,
const TrilinosWrappers::MPI::Vector &previous_solution,
const ConstraintMatrix &constraints,
void create_system_rhs<3, TrilinosWrappers::MPI::Vector>
(const DoFHandler<3> &dof_handler,
const QGauss<3> &quad,
- const std::function<Tensor<1, 3>(const Point<3>)> convection_function,
- const std::function<double(double, const Point<3>)> forcing_function,
+ const std::function<Tensor<1, 3>(const Point<3>)> &convection_function,
+ const std::function<double(double, const Point<3>)> &forcing_function,
const CDR::Parameters ¶meters,
const TrilinosWrappers::MPI::Vector &previous_solution,
const ConstraintMatrix &constraints,