mirror of
https://codeberg.org/vcbferreira/NuFI_deal.ii
synced 2026-08-12 14:33:18 +02:00
moved NufiSolver::run to main
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user