mirror of
https://codeberg.org/vcbferreira/NuFI_deal.ii
synced 2026-08-12 22:43:17 +02:00
nufi, still need to marry with deal.ii s poisson
This commit is contained in:
+4
-1
@@ -2,7 +2,6 @@
|
||||
#define POISSON_PROBLEM_HPP
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
#include <deal.II/base/quadrature_lib.h>
|
||||
#include <deal.II/base/logstream.h>
|
||||
@@ -48,6 +47,9 @@ public:
|
||||
|
||||
void set_Nv(unsigned int new_Nv);
|
||||
|
||||
const Vector<double> &get_solution() const { return solution; }
|
||||
const DoFHandler<dim> &get_dof_handler() const { return dof_handler; }
|
||||
|
||||
private:
|
||||
void create_mesh();
|
||||
void setup_system();
|
||||
@@ -288,6 +290,7 @@ void PoissonProblem<dim>::output_results() const
|
||||
template <int dim>
|
||||
void PoissonProblem<dim>::run()
|
||||
{
|
||||
set_Nv(Parameters::NV); // dont use anywhere else! Other functions still use Parameters::NV.
|
||||
create_mesh();
|
||||
setup_system();
|
||||
assemble_system();
|
||||
|
||||
Reference in New Issue
Block a user