12 #ifndef ProjectPhiToD_H__
13 #define ProjectPhiToD_H__
15 #include "project_Hgrad_to_Hdiv.hpp"
17 namespace StaticScalarSolver {
105 template<
int dim,
int stage = 1>
156 unsigned int mapping_degree,
157 const Triangulation<dim>& triangulation_PHI,
158 const DoFHandler<dim>& dof_handler_PHI,
159 const Vector<double>& solution_PHI,
160 std::string fname =
"D",
161 const Function<dim>* exact_solution =
nullptr,
162 bool axisymmetric =
false,
163 bool print_time_tables =
false,
164 bool project_exact_solution =
false,
165 bool log_cg_convergence =
false,
166 bool write_higher_order_cells =
false)
177 project_exact_solution,
179 write_higher_order_cells)
Computes the displacement field, , as a negative gradient of the electric potential,...
ProjectPHItoD(unsigned int p, unsigned int mapping_degree, const Triangulation< dim > &triangulation_PHI, const DoFHandler< dim > &dof_handler_PHI, const Vector< double > &solution_PHI, std::string fname="D", const Function< dim > *exact_solution=nullptr, bool axisymmetric=false, bool print_time_tables=false, bool project_exact_solution=false, bool log_cg_convergence=false, bool write_higher_order_cells=false)
The only constructor.