12 #ifndef ProjectPhiToE_H__
13 #define ProjectPhiToE_H__
15 #include "project_Hgrad_to_Hcurl.hpp"
17 namespace StaticScalarSolver {
99 template<
int dim,
int stage = 1>
149 unsigned int mapping_degree,
150 const Triangulation<dim>& triangulation_PHI,
151 const DoFHandler<dim>& dof_handler_PHI,
152 const Vector<double>& solution_PHI,
153 std::string fname =
"E",
154 const Function<dim>* exact_solution =
nullptr,
155 bool axisymmetric =
false,
156 bool print_time_tables =
false,
157 bool project_exact_solution =
false,
158 bool log_cg_convergence =
false,
159 bool write_higher_order_cells =
false)
170 project_exact_solution,
172 write_higher_order_cells)
Computes the electric field as a negative gradient of the scalar electric potential,...
ProjectPHItoE(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="E", 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.