hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Namespaces | Functions
prolongation.hpp File Reference
#include "hpfem/core/types.hpp"
#include "hpfem/fespace/dof_map.hpp"
#include "hpfem/mesh/adaptive_mesh.hpp"
Include dependency graph for prolongation.hpp:

Go to the source code of this file.

Namespaces

namespace  hpfem
 
namespace  hpfem::assembly
 

Functions

template<int Dim, class Counts >
Vector hpfem::assembly::prolongate (const fespace::EntityDofMap< Dim, Counts > &old_dofs, const Vector &old_coefficients, const fespace::EntityDofMap< Dim, Counts > &new_dofs, const mesh::RefinementStep &step)
 
template Vector hpfem::assembly::prolongate< 2, fespace::H1Counts > (const fespace::DofMap< 2 > &, const Vector &, const fespace::DofMap< 2 > &, const mesh::RefinementStep &)
 
template Vector hpfem::assembly::prolongate< 3, fespace::H1Counts > (const fespace::DofMap< 3 > &, const Vector &, const fespace::DofMap< 3 > &, const mesh::RefinementStep &)
 
template Vector hpfem::assembly::prolongate< 2, fespace::NedelecCounts > (const fespace::NedelecDofMap< 2 > &, const Vector &, const fespace::NedelecDofMap< 2 > &, const mesh::RefinementStep &)
 
template Vector hpfem::assembly::prolongate< 3, fespace::NedelecCounts > (const fespace::NedelecDofMap< 3 > &, const Vector &, const fespace::NedelecDofMap< 3 > &, const mesh::RefinementStep &)
 

Detailed Description

Transfer of a discrete function to the mesh of a refinement step (mesh::AdaptiveMesh): the coefficients on the new DoF map are the hierarchical interpolant (interpolate) of the old function, which is exact because the spaces are nested (same or higher order on the children). Serves as the initial guess of iterative solvers and for comparing solutions across refinement steps.