1#ifndef included_AMP_FDHelper
2#define included_AMP_FDHelper
4#include "AMP/discretization/DOF_Manager.h"
5#include "AMP/mesh/Mesh.h"
6#include "AMP/mesh/MeshID.h"
7#include "AMP/vectors/MultiVector.h"
8#include "AMP/vectors/Vector.h"
14 std::shared_ptr<const AMP::LinearAlgebra::Vector> u );
20 std::shared_ptr<const AMP::Mesh::Mesh> Mesh,
22 std::shared_ptr<const AMP::Discretization::DOFManager> scalarDOFMan,
23 std::shared_ptr<AMP::LinearAlgebra::Vector> vec_,
24 const std::function<
double(
size_t component,
AMP::Mesh::Point &point )> &fun );
std::array< double, 3 > getDiscreteNorms(const std::vector< double > &h, std::shared_ptr< const AMP::LinearAlgebra::Vector > u)
void fillMultiVectorWithFunction(std::shared_ptr< const AMP::Mesh::Mesh > Mesh, AMP::Mesh::GeomType geom, std::shared_ptr< const AMP::Discretization::DOFManager > scalarDOFMan, std::shared_ptr< AMP::LinearAlgebra::Vector > vec_, const std::function< double(size_t component, AMP::Mesh::Point &point)> &fun)
GeomType
Enumeration for basic mesh-based quantities.