24 #ifndef __EXTRAPOLATION_H 25 #define __EXTRAPOLATION_H 30 #include <Eigen/Dense> 32 #include <dolfin/common/types.h> 69 static void build_unique_dofs(std::set<std::size_t>& unique_dofs,
70 std::map<std::size_t, std::map<std::size_t, std::size_t> >& cell2dof2row,
75 static std::map<std::size_t, std::size_t>
77 std::size_t& row, std::set<std::size_t>& unique_dofs);
81 compute_coefficients(std::vector<std::vector<double> >& coefficients,
84 const std::vector<double>& coordinate_dofs0,
86 const Eigen::Ref<
const Eigen::Matrix<dolfin::la_index, Eigen::Dynamic, 1>> dofs,
90 static void add_cell_equations(Eigen::MatrixXd& A,
94 const std::vector<double>& coordinate_dofs0,
95 const std::vector<double>& coordinate_dofs1,
101 std::map<std::size_t, std::size_t>& dof2row);
106 std::vector<std::vector<double> >& coefficients);
Definition: FunctionSpace.h:53
Definition: Extrapolation.h:34
A Cell is a MeshEntity of topological codimension 0.
Definition: Cell.h:42
Definition: Function.h:65