MGTransferMatrixFree<dim, double> transfer;
transfer.build(dh);
transfer.interpolate_to_mg(dh, level_vectors, map_vector);
- MappingFEField<dim,
- spacedim,
- LinearAlgebra::distributed::Vector<double>,
- DoFHandler<dim>>
+ MappingFEField<dim, spacedim, LinearAlgebra::distributed::Vector<double>>
mapping(dh, level_vectors);
QGauss<dim> quad(1);
MGTransferMatrixFree<dim, double> transfer;
transfer.build(dh);
transfer.interpolate_to_mg(dh, level_vectors, map_vector);
- MappingFEField<dim,
- spacedim,
- LinearAlgebra::distributed::Vector<double>,
- DoFHandler<dim>>
+ MappingFEField<dim, spacedim, LinearAlgebra::distributed::Vector<double>>
mapping(dh, level_vectors);
MappingQGeneric<dim> mapping_ref(fe.degree);
level_vectors[level].update_ghost_values();
}
- MappingFEField<dim,
- spacedim,
- LinearAlgebra::distributed::Vector<double>,
- DoFHandler<dim>>
+ MappingFEField<dim, spacedim, LinearAlgebra::distributed::Vector<double>>
mapping(dh, level_vectors);
QGauss<dim> quad(1);
// Create a Mapping
Vector<double> map_vector(dh.n_dofs());
VectorTools::get_position_vector(dh, map_vector);
- MappingFEField<dim, spacedim, Vector<double>, DoFHandler<dim>> mapping(
- dh, map_vector);
- MappingQGeneric<dim> mapping_ref(fe.degree);
+ MappingFEField<dim, spacedim, Vector<double>> mapping(dh, map_vector);
+ MappingQGeneric<dim> mapping_ref(fe.degree);
QGauss<dim> quad(1);
FEValues<dim> fe_values_ref(mapping_ref, fe, quad, update_quadrature_points);
nodes.reinit(dofh.n_dofs());
VectorTools::get_position_vector(dofh, nodes, mask);
- MappingFEField<dim, dim, Vector<double>, DoFHandler<dim>> mapping(dofh,
- nodes,
- mask);
+ MappingFEField<dim, dim, Vector<double>> mapping(dofh, nodes, mask);
deallog << "Test with MappingQGeneric in " << dim << "D on "
<< tria.n_active_cells() << " cells:" << std::endl;