moved NufiSolver::run to main

This commit is contained in:
VCB Ferreira
2026-08-02 23:48:12 +02:00
parent 14856c7ce0
commit cab3af2004
4 changed files with 123 additions and 137 deletions
-6
View File
@@ -11,7 +11,6 @@
#include "nufi/fields.h" // dont remove
#include "nufi/grids.h"
#include "nufi/parameters.h"
#include "nufi/poisson_problem.h"
using namespace dealii;
@@ -19,7 +18,6 @@ class NuFISolver {
public:
NuFISolver();
void run();
std::vector<double>
eval_rho(unsigned int n, std::vector<double> &x,
const std::vector<GridStructure<1>> &grid_struct,
@@ -48,10 +46,6 @@ private:
double x_min = Parameters::X_DOMAIN_LEFT;
double x_max = Parameters::X_DOMAIN_RIGHT;
std::vector<double> rho;
unsigned int order;
PoissonProblem<1> poisson;
};
#endif
-1
View File
@@ -81,7 +81,6 @@ public:
unsigned int get_dof_size();
void set_rhs_function(
std::function<std::vector<double>(const std::vector<Point<dim>> &)> f);
// void set_rhs(const Vector<double> &new_rhs) { rhs = new_rhs; }
const Vector<double> &get_solution() const { return solution; }
const MappingQ<dim> &get_mapping() const { return mapping; }