MyEfieldDs< Curve > Class Template Reference

Collaboration diagram for MyEfieldDs< Curve >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MyEfieldDs (Curve curve, Vector3 E)
double operator() (const double t)

Private Attributes

Curve curve_
const Vector3 E_

Detailed Description

template<typename Curve>
class MyEfieldDs< Curve >

Function object class for evaluating the integrand used for the line integral of the E-field along a curve.

Definition at line 37 of file test_line_integral.cpp.


Constructor & Destructor Documentation

template<typename Curve>
MyEfieldDs< Curve >::MyEfieldDs ( Curve  curve,
Vector3  E 
) [inline]

Constructor.

Parameters:
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.


Member Function Documentation

template<typename Curve>
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:


Member Data Documentation

template<typename Curve>
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()().

template<typename Curve>
const Vector3 MyEfieldDs< Curve >::E_ [private]

E-field (constant)

Definition at line 59 of file test_line_integral.cpp.

Referenced by MyEfieldDs< Curve >::operator()().


The documentation for this class was generated from the following file:
Generated on Fri Oct 26 13:35:16 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7