make_flux_sparsity_pattern (const MGDoFHandler<dim> &dof,
SparsityPattern &sparsity,
const unsigned int level,
- const FullMatrix<double>& int_mask,
- const FullMatrix<double>& flux_mask);
+ const FullMatrix<double> &int_mask,
+ const FullMatrix<double> &flux_mask);
/**
* Count the dofs component-wise
* <tt>result[level][component]</tt>).
*/
template <int dim>
- static void count_dofs_per_component (const MGDoFHandler<dim>& mg_dof,
- std::vector<std::vector<unsigned int> >& result,
+ static void count_dofs_per_component (const MGDoFHandler<dim> &mg_dof,
+ std::vector<std::vector<unsigned int> > &result,
std::vector<unsigned int> target_component
= std::vector<unsigned int>());
*/
template <int dim, typename number>
static void
- reinit_vector (const MGDoFHandler<dim>& mg_dof,
- MGLevelObject<Vector<number> >& vector);
+ reinit_vector (const MGDoFHandler<dim> &mg_dof,
+ MGLevelObject<Vector<number> > &vector);
/**
* Adjust block-vectors on all
*/
template <int dim, typename number>
static void
- reinit_vector (const MGDoFHandler<dim>& mg_dof,
- MGLevelObject<Vector<number> >& v,
- const std::vector<bool>& selected,
- const std::vector<unsigned int>& target_component);
+ reinit_vector (const MGDoFHandler<dim> &mg_dof,
+ MGLevelObject<Vector<number> > &v,
+ const std::vector<bool> &selected,
+ const std::vector<unsigned int> &target_component);
};
const MGDoFHandler<dim> &dof,
SparsityPattern &sparsity,
const unsigned int level,
- const FullMatrix<double>& int_mask,
- const FullMatrix<double>& flux_mask)
+ const FullMatrix<double> &int_mask,
+ const FullMatrix<double> &flux_mask)
{
const unsigned int n_dofs = dof.n_dofs(level);
const unsigned int n_comp = dof.get_fe().n_components();
template <int dim>
void
MGTools::count_dofs_per_component (
- const MGDoFHandler<dim>& dof_handler,
- std::vector<std::vector<unsigned int> >& result,
+ const MGDoFHandler<dim> &dof_handler,
+ std::vector<std::vector<unsigned int> > &result,
std::vector<unsigned int> target_component)
{
const unsigned int nlevels = dof_handler.get_tria().n_levels();
template<int dim, typename number>
void
-MGTools::reinit_vector (const MGDoFHandler<dim>& mg_dof,
- MGLevelObject<Vector<number> >& v)
+MGTools::reinit_vector (const MGDoFHandler<dim> &mg_dof,
+ MGLevelObject<Vector<number> > &v)
{
for (unsigned int level=v.get_minlevel();
level<=v.get_maxlevel();++level)
template<int dim, typename number>
void
-MGTools::reinit_vector (const MGDoFHandler<dim>& mg_dof,
- MGLevelObject<BlockVector<number> >& v,
+MGTools::reinit_vector (const MGDoFHandler<dim> &mg_dof,
+ MGLevelObject<BlockVector<number> > &v,
const std::vector<bool> &sel,
const std::vector<unsigned int> &target_comp)
{