12 #ifndef ProjectAtoB_H__
13 #define ProjectAtoB_H__
15 #include "project_Hcurl_to_Hdiv.hpp"
17 namespace StaticVectorSolver {
105 template<
int stage = 1>
154 unsigned int mapping_degree,
155 const Triangulation<3>& triangulation_A,
156 const DoFHandler<3>& dof_handler_A,
157 const Vector<double>& solution_A,
158 std::string fname =
"B",
159 const Function<3>* exact_solution =
nullptr,
160 bool print_time_tables =
false,
161 bool project_exact_solution =
false,
162 bool log_cg_convergence =
false,
163 bool write_higher_order_cells =
false)
172 project_exact_solution,
174 write_higher_order_cells)
Computes the magnetic field as a curl of the magnetic vector potential, , i.e., .
ProjectAtoB(unsigned int p, unsigned int mapping_degree, const Triangulation< 3 > &triangulation_A, const DoFHandler< 3 > &dof_handler_A, const Vector< double > &solution_A, std::string fname="B", const Function< 3 > *exact_solution=nullptr, bool print_time_tables=false, bool project_exact_solution=false, bool log_cg_convergence=false, bool write_higher_order_cells=false)
The only constructor.