12 #ifndef ProjectTtoJ_H__
13 #define ProjectTtoJ_H__
15 #include "project_Hcurl_to_Hdiv.hpp"
17 using namespace StaticVectorSolver;
19 namespace StaticVectorSolver {
105 template<
int stage = 1>
153 unsigned int mapping_degree,
154 const Triangulation<3>& triangulation_T,
155 const DoFHandler<3>& dof_handler_T,
156 const Vector<double>& solution_T,
157 std::string fname =
"J",
158 const Function<3>* exact_solution =
nullptr,
159 bool print_time_tables =
false,
160 bool project_exact_solution =
false,
161 bool log_cg_convergence =
false,
162 bool write_higher_order_cells =
false)
171 project_exact_solution,
173 write_higher_order_cells)
Computes the volume free-current density as a curl of the current vector potential,...
ProjectTtoJ(unsigned int p, unsigned int mapping_degree, const Triangulation< 3 > &triangulation_T, const DoFHandler< 3 > &dof_handler_T, const Vector< double > &solution_T, std::string fname="J", 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.