Public Member Functions | |
MyEfieldDs (Curve curve, Vector3 E) | |
double | operator() (const double t) |
Private Attributes | |
Curve | curve_ |
const Vector3 | E_ |
Definition at line 37 of file test_line_integral.cpp.
MyEfieldDs< Curve >::MyEfieldDs | ( | Curve | curve, | |
Vector3 | E | |||
) | [inline] |
Constructor.
curve | Function object describing the curve to integrate on. curve(t) must return (x(t), y(t), z(t)) and curve.deriv(t) must return (x'(t), y'(t), z'(t)). | |
nedelec_mesh | NedeleMesh object. | |
q | Eigenvector |
Definition at line 46 of file test_line_integral.cpp.
double MyEfieldDs< Curve >::operator() | ( | const double | t | ) | [inline] |
Function operator. Evaluates the integrand dot(E(curve(t)), curve'(t)).
Definition at line 51 of file test_line_integral.cpp.
References MyEfieldDs< Curve >::curve_, mesh::Vector3::dot_product(), and MyEfieldDs< Curve >::E_.
Here is the call graph for this function:
Curve MyEfieldDs< Curve >::curve_ [private] |
Curve describing the path to evaluate the integrand on.
Definition at line 57 of file test_line_integral.cpp.
Referenced by MyEfieldDs< Curve >::operator()().
const Vector3 MyEfieldDs< Curve >::E_ [private] |
E-field (constant)
Definition at line 59 of file test_line_integral.cpp.
Referenced by MyEfieldDs< Curve >::operator()().