12 #ifndef ProjectPsiToB_H__
13 #define ProjectPsiToB_H__
15 #include "project_Hgrad_to_Hdiv.hpp"
17 namespace StaticScalarSolver {
103 template<
int dim,
int stage = 1>
154 unsigned int mapping_degree,
155 const Triangulation<dim>& triangulation_PSI,
156 const DoFHandler<dim>& dof_handler_PSI,
157 const Vector<double>& solution_PSI,
158 std::string fname =
"B",
159 const Function<dim>* exact_solution =
nullptr,
160 bool axisymmetric =
false,
161 bool print_time_tables =
false,
162 bool project_exact_solution =
false,
163 bool log_cg_convergence =
false,
164 bool write_higher_order_cells =
false)
175 project_exact_solution,
177 write_higher_order_cells)
Computes the magnetic field as a negative gradient of the total scalar magnetic potential,...
ProjectPSItoB(unsigned int p, unsigned int mapping_degree, const Triangulation< dim > &triangulation_PSI, const DoFHandler< dim > &dof_handler_PSI, const Vector< double > &solution_PSI, std::string fname="B", 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.