#include <LinearFieldInterpolation.h>
Collaboration diagram for postprocess::LinearFieldInterpolation:
Public Member Functions | |
LinearFieldInterpolation (const NedelecMesh &nedelec_mesh, const colarray::Vector< double > &q) | |
~LinearFieldInterpolation () | |
mesh::Vector3 | eval (const mesh::Vector3 &x) |
mesh::Vector3 | eval_curl (const mesh::Vector3 &x) |
Protected Attributes | |
std::vector< mesh::Vector3 > | node_values_ |
const NedelecMesh & | nedelec_mesh_ |
Private Member Functions | |
LinearFieldInterpolation (const LinearFieldInterpolation &) |
Definition at line 27 of file LinearFieldInterpolation.h.
postprocess::LinearFieldInterpolation::LinearFieldInterpolation | ( | const NedelecMesh & | nedelec_mesh, | |
const colarray::Vector< double > & | q | |||
) |
Constructor.
nedelec_mesh | NedelecMesh. | |
q | Eigenvector (mapped DOFs). |
Definition at line 25 of file LinearFieldInterpolation.cpp.
References NedelecElement::eval(), NedelecElement::get_dof_ids(), NedelecMesh::get_element(), NedelecElement::get_nof_dofs(), NedelecMesh::getTetMesh(), NedelecMesh::map_dof(), nedelec_mesh_, and node_values_.
Here is the call graph for this function:
postprocess::LinearFieldInterpolation::~LinearFieldInterpolation | ( | ) |
Destructor.
Definition at line 63 of file LinearFieldInterpolation.cpp.
postprocess::LinearFieldInterpolation::LinearFieldInterpolation | ( | const LinearFieldInterpolation & | ) | [private] |
Private copy constructor, missing definition.
mesh::Vector3 postprocess::LinearFieldInterpolation::eval | ( | const mesh::Vector3 & | x | ) |
Evaluate electric field at position x.
x | Cartesian coordinates of position. |
Definition at line 67 of file LinearFieldInterpolation.cpp.
References mesh::Tet::cartesian_to_simplex(), mesh::Tet::get_corner_id(), NedelecMesh::getTetMesh(), nedelec_mesh_, node_values_, x, and mesh::Vector3::ZERO.
Here is the call graph for this function:
mesh::Vector3 postprocess::LinearFieldInterpolation::eval_curl | ( | const mesh::Vector3 & | x | ) |
Evaluate curl of electric field at position x.
x | Cartesian coordinates of position. |
TODO implement me
Definition at line 91 of file LinearFieldInterpolation.cpp.
References mesh::Vector3::ZERO.
const NedelecMesh& postprocess::LinearFieldInterpolation::nedelec_mesh_ [protected] |
Definition at line 66 of file LinearFieldInterpolation.h.
Referenced by eval(), and LinearFieldInterpolation().
std::vector<mesh::Vector3> postprocess::LinearFieldInterpolation::node_values_ [protected] |
Electric field evaluated at the mesh nodes.
Definition at line 62 of file LinearFieldInterpolation.h.
Referenced by eval(), and LinearFieldInterpolation().