Public Member Functions | Protected Member Functions | List of all members
QComplexHarmonicElement< NNODE_1D > Class Template Reference
Inheritance diagram for QComplexHarmonicElement< NNODE_1D >:
ComplexHarmonicEquations

Public Member Functions

 QComplexHarmonicElement ()
 Constructor: Call constructors for QElement and Poisson equations. More...
 
unsigned required_nvalue (const unsigned &n) const
 Required # of `values' (pinned or dofs) at node n. Here there are two (u and w) More...
 
void output (ostream &outfile)
 Output function overloaded from ComplexHarmonicEquations. More...
 
void output (ostream &outfile, const unsigned &Nplot)
 Output function overloaded from ComplexHarmonicEquations. More...
 
- Public Member Functions inherited from ComplexHarmonicEquations
 ComplexHarmonicEquations ()
 Empty Constructor. More...
 
virtual double u (const unsigned &n) const
 Access function: First eigenfunction value at local node n Note that solving the eigenproblem does not assign values to this storage space. It is used for output purposes only. More...
 
virtual double w (const unsigned &n) const
 Second eigenfunction value at local node n. More...
 
void output (ostream &outfile)
 Output the eigenfunction with default number of plot points. More...
 
void output (ostream &outfile, const unsigned &nplot)
 Output FE representation of soln: x,y,u or x,y,z,u at Nplot plot points. More...
 
void fill_in_contribution_to_jacobian_and_mass_matrix (Vector< double > &residuals, DenseMatrix< double > &jacobian, DenseMatrix< double > &mass_matrix)
 Assemble the contributions to the jacobian and mass matrices. More...
 
double interpolated_u (const Vector< double > &s) const
 Return FE representation of function value u(s) at local coordinate s. More...
 
double interpolated_w (const Vector< double > &s) const
 Return FE representation of function value w(s) at local coordinate s. More...
 

Protected Member Functions

double dshape_eulerian (const Vector< double > &s, Shape &psi, DShape &dpsidx) const
 Shape, test functions & derivs. w.r.t. to global coords. Return Jacobian. More...
 
double dshape_eulerian_at_knot (const unsigned &ipt, Shape &psi, DShape &dpsidx) const
 Shape, test functions & derivs. w.r.t. to global coords. at integration point ipt. Return Jacobian. More...
 
- Protected Member Functions inherited from ComplexHarmonicEquations
virtual int u_local_eqn (const unsigned &n, const unsigned &i)
 Access function that returns the local equation number of the unknown in the problem. Default is to assume that it is the first (only) value stored at the node. More...
 

Detailed Description

template<unsigned NNODE_1D>
class QComplexHarmonicElement< NNODE_1D >

QComplexHarmonicElement<NNODE_1D> elements are 1D Elements with NNODE_1D nodal points that are used to solve the ComplexHarmonic eigenvalue Problem described by ComplexHarmonicEquations.

Definition at line 306 of file complex_harmonic.cc.

Constructor & Destructor Documentation

template<unsigned NNODE_1D>
QComplexHarmonicElement< NNODE_1D >::QComplexHarmonicElement ( )
inline

Constructor: Call constructors for QElement and Poisson equations.

Definition at line 314 of file complex_harmonic.cc.

Member Function Documentation

template<unsigned NNODE_1D>
double QComplexHarmonicElement< NNODE_1D >::dshape_eulerian ( const Vector< double > &  s,
Shape &  psi,
DShape &  dpsidx 
) const
inlineprotectedvirtual

Shape, test functions & derivs. w.r.t. to global coords. Return Jacobian.

Implements ComplexHarmonicEquations.

Definition at line 333 of file complex_harmonic.cc.

template<unsigned NNODE_1D>
double QComplexHarmonicElement< NNODE_1D >::dshape_eulerian_at_knot ( const unsigned &  ipt,
Shape &  psi,
DShape &  dpsidx 
) const
inlineprotectedvirtual

Shape, test functions & derivs. w.r.t. to global coords. at integration point ipt. Return Jacobian.

Implements ComplexHarmonicEquations.

Definition at line 341 of file complex_harmonic.cc.

template<unsigned NNODE_1D>
void QComplexHarmonicElement< NNODE_1D >::output ( ostream &  outfile)
inline

Output function overloaded from ComplexHarmonicEquations.

Definition at line 322 of file complex_harmonic.cc.

References ComplexHarmonicEquations::output().

template<unsigned NNODE_1D>
void QComplexHarmonicElement< NNODE_1D >::output ( ostream &  outfile,
const unsigned &  Nplot 
)
inline

Output function overloaded from ComplexHarmonicEquations.

Definition at line 326 of file complex_harmonic.cc.

References ComplexHarmonicEquations::output().

template<unsigned NNODE_1D>
unsigned QComplexHarmonicElement< NNODE_1D >::required_nvalue ( const unsigned &  n) const
inline

Required # of `values' (pinned or dofs) at node n. Here there are two (u and w)

Definition at line 319 of file complex_harmonic.cc.


The documentation for this class was generated from the following file: