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

Public Member Functions

 QHarmonicElement ()
 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. More...
 
void output (ostream &outfile)
 Output function overloaded from HarmonicEquations. More...
 
void output (ostream &outfile, const unsigned &Nplot)
 Output function overloaded from HarmonicEquations. More...
 
- Public Member Functions inherited from HarmonicEquations
 HarmonicEquations ()
 Empty Constructor. More...
 
virtual double u (const unsigned &n) const
 Access function: 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...
 
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...
 

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 HarmonicEquations
virtual int u_local_eqn (const unsigned &n)
 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 QHarmonicElement< NNODE_1D >

QHarmonicElement<NNODE_1D> elements are 1D Elements with NNODE_1D nodal points that are used to solve the Harmonic eigenvalue Problem described by HarmonicEquations.

Definition at line 226 of file harmonic.cc.

Constructor & Destructor Documentation

◆ QHarmonicElement()

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

Constructor: Call constructors for QElement and Poisson equations.

Definition at line 234 of file harmonic.cc.

Member Function Documentation

◆ dshape_eulerian()

template<unsigned NNODE_1D>
double QHarmonicElement< 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 HarmonicEquations.

Definition at line 252 of file harmonic.cc.

◆ dshape_eulerian_at_knot()

template<unsigned NNODE_1D>
double QHarmonicElement< 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 HarmonicEquations.

Definition at line 260 of file harmonic.cc.

◆ output() [1/2]

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

Output function overloaded from HarmonicEquations.

Definition at line 241 of file harmonic.cc.

References HarmonicEquations::output().

◆ output() [2/2]

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

Output function overloaded from HarmonicEquations.

Definition at line 245 of file harmonic.cc.

References HarmonicEquations::output().

◆ required_nvalue()

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

Required # of `values' (pinned or dofs) at node n.

Definition at line 238 of file harmonic.cc.


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