27 template<
size_t dimension>
52 std::function<Eigen::VectorXd(
size_t iT)> Fu_h ,
53 const char *filename ,
54 bool star=
false )
const;
60 std::function<Eigen::VectorXd(
size_t iT)> Fu_h ,
61 const char *filename )
const;
64 std::vector<Eigen::Vector3d> _locations;
65 std::vector<size_t> _cellIndices;
66 std::vector<Eigen::Matrix<double,dimension,dimension>> _metricInv;
67 std::vector<double> _volume;
68 std::vector<Eigen::VectorXd> _polyEval;
Evaluate vector of discrete unknowns and store them in files.
Definition: exporter.hpp:28
int save(size_t k, std::function< Eigen::VectorXd(size_t iT)> Fu_h, const char *filename, bool star=false) const
Write a csv file with the point-wise value of the discrete function.
Definition: exporter.cpp:71
int saveSq(size_t k, std::function< Eigen::VectorXd(size_t iT)> Fu_h, const char *filename) const
Write a csv file with the point-wise value of the contraction of the function with itself.
Definition: exporter.cpp:112
Exporter(Mesh< dimension > const *mesh, int r, int acc)
Constructor.
Definition: exporter.cpp:28
Main data structure for the mesh.
Definition: mesh.hpp:54
constexpr functions to compute the dimension of various polynomial spaces
constexpr size_t ExtDim(size_t l, size_t d)
Dimension of the exterior algebra .
Definition: exterior_dimension.hpp:37
Compute and store the topological and geometrical data of the mesh.
Definition: maxwell.hpp:21