mirror of
https://codeberg.org/vcbferreira/NuFI_deal.ii
synced 2026-08-12 14:33:18 +02:00
added cells.h, to locate cell, integration to poisson needed
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "nufi/cells.h"
|
||||
#include "nufi/parameters.h"
|
||||
|
||||
using namespace dealii;
|
||||
@@ -227,6 +228,16 @@ std::vector<double> PoissonProblem<dim>::eval_vector_grad(
|
||||
return values;
|
||||
}
|
||||
|
||||
// template <int dim>
|
||||
// std::vector<double> eval_point_grad(const Mapping<dim> &mapping,
|
||||
// const DoFHandler<dim> &dof_handler,
|
||||
// const Vector<double> &solution,
|
||||
// const Point<dim> &point) {
|
||||
// Tensor Ex = VectorTools::point_gradient(mapping, dof_handler, solution,
|
||||
// points);
|
||||
// return Ex[0];
|
||||
// }
|
||||
//
|
||||
// template <int dim>
|
||||
// std::vector<double> eval_vector_grad(const Mapping<dim> &mapping,
|
||||
// const DoFHandler<dim> &dof_handler,
|
||||
|
||||
Reference in New Issue
Block a user