LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
solution_to_mesh_data_set.h
1#ifndef THESIS_POST_PROCESSING_SOLUTION_TO_MESH_DATA_SET_H
2#define THESIS_POST_PROCESSING_SOLUTION_TO_MESH_DATA_SET_H
3
10#include <lf/assemble/dofhandler.h>
11#include <lf/mesh/mesh.h>
12#include <lf/mesh/utils/codim_mesh_data_set.h>
13
14#include <Eigen/Dense>
15
16namespace projects::ipdg_stokes {
17
18namespace post_processing {
19
29 const std::shared_ptr<const lf::mesh::Mesh> &mesh,
30 const lf::assemble::DofHandler &dofh, const Eigen::VectorXd &solution);
31
41 const std::shared_ptr<const lf::mesh::Mesh> &mesh,
42 const lf::assemble::DofHandler &dofh, const Eigen::VectorXd &solution);
43
44} // end namespace post_processing
45
46} // end namespace projects::ipdg_stokes
47
48#endif // THESIS_POST_PROCESSING_SOLUTION_TO_MESH_DATA_SET_H
A general (interface) class for DOF handling, see Lecture Document Paragraph 2.7.4....
Definition: dofhandler.h:109
A MeshDataSet that attaches data of type T to every entity of a mesh that has a specified codimension...
lf::mesh::utils::CodimMeshDataSet< Eigen::Vector2d > extractVelocity(const std::shared_ptr< const lf::mesh::Mesh > &mesh, const lf::assemble::DofHandler &dofh, const Eigen::VectorXd &solution)
Extract the flow velocity on cells from the solution vector.
lf::mesh::utils::CodimMeshDataSet< double > extractBasisFunctionCoefficients(const std::shared_ptr< const lf::mesh::Mesh > &mesh, const lf::assemble::DofHandler &dofh, const Eigen::VectorXd &solution)
Extract the basis function coefficients from the solution vector.