Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Private Attributes
concepts::gfem::GfemBasisOne Class Reference

#include <gfemBasisOne.h>

Inheritance diagram for concepts::gfem::GfemBasisOne:
Inheritance graph
[legend]
Collaboration diagram for concepts::gfem::GfemBasisOne:
Collaboration graph
[legend]

List of all members.

Public Types

enum  EquationType { TRANSVERSAL_ELECTRIC, TRANSVERSAL_MAGNETIC }

Public Member Functions

void addSolution (UC_Sol *sol)
 this function is a sink, except if releaseContents() is called.
void cutoff (double sigma_thresh)
UC_SolgetSolution (int i)
const UC_SolgetSolution (int i) const
 GfemBasisOne (const concepts::Space< concepts::Real > &space, EquationType type, const MID &attrToEpsilon, double omega, const concepts::BoundaryConditions &bc)
void orthogonalize ()
void printSigmas () const
void releaseContents ()
 releases the solutions WITHOUT deleting them.
void setAllKs (Cmplx k1, Cmplx k2)
void setOmega (double omega)
void setRhs (const std::string &rhs_r, const std::string &rhs_i)
int size () const
void solve (concepts::Cmplx k1, concepts::Cmplx k2)
 this function solves the UC EV problem and stores the results.
void solve (concepts::Cmplx k1, concepts::Cmplx k2, concepts::Vector< concepts::Cmplx > &sol)
 ~GfemBasisOne ()

Static Public Member Functions

static
concepts::PiecewiseConstFormula
< concepts::Real
genTECoeff (const MID &attToEps)
static
concepts::PiecewiseConstFormula
< concepts::Real
genTMCoeff (const MID &attToEps)

Protected Attributes

hp2D::Advection< concepts::Realadv_BF_1
hp2D::Advection< concepts::Realadv_BF_2
concepts::SparseMatrix
< concepts::Real
adv_M_1
concepts::SparseMatrix
< concepts::Real
adv_M_2
concepts::BoundaryConditions bc
concepts::PiecewiseConstFormula
< concepts::Real
coeff_TE_F
concepts::PiecewiseConstFormula
< concepts::Real
coeff_TM_F
hp2D::Identity< Realid_heat_BF
concepts::SparseMatrix
< concepts::Real
id_heat_M
hp2D::Identity< Realid_mass_BF
concepts::SparseMatrix
< concepts::Real
id_mass_M
hp2D::Laplace< concepts::Reallap_BF
concepts::SparseMatrix
< concepts::Real
lap_M
double omega
concepts::Vector< concepts::Cmplxrhs
const concepts::Space
< concepts::Real > & 
space

Static Protected Attributes

static
concepts::PiecewiseConstFormula
< concepts::Real
one_F
static
concepts::PiecewiseConstFormula
< concepts::Real
zero_F

Private Member Functions

void sort ()
void transformReal ()

Private Attributes

std::vector< UC_Sol * > uc_sols

Detailed Description

Definition at line 23 of file gfemBasisOne.h.


Member Enumeration Documentation

Enumerator:
TRANSVERSAL_ELECTRIC 
TRANSVERSAL_MAGNETIC 

Definition at line 41 of file PC_UC_Solver.h.


Constructor & Destructor Documentation

concepts::gfem::GfemBasisOne::GfemBasisOne ( const concepts::Space< concepts::Real > &  space,
EquationType  type,
const MID attrToEpsilon,
double  omega,
const concepts::BoundaryConditions bc 
) [inline]

Definition at line 26 of file gfemBasisOne.h.

concepts::gfem::GfemBasisOne::~GfemBasisOne ( ) [inline]

Definition at line 36 of file gfemBasisOne.h.


Member Function Documentation

void concepts::gfem::GfemBasisOne::addSolution ( UC_Sol sol) [inline]

this function is a sink, except if releaseContents() is called.

Definition at line 60 of file gfemBasisOne.h.

void concepts::gfem::GfemBasisOne::cutoff ( double  sigma_thresh)
static concepts::PiecewiseConstFormula<concepts::Real> concepts::gfem::PC_UC_Solver::genTECoeff ( const MID attToEps) [static, inherited]
static concepts::PiecewiseConstFormula<concepts::Real> concepts::gfem::PC_UC_Solver::genTMCoeff ( const MID attToEps) [static, inherited]
const UC_Sol& concepts::gfem::GfemBasisOne::getSolution ( int  i) const [inline]

Definition at line 66 of file gfemBasisOne.h.

UC_Sol& concepts::gfem::GfemBasisOne::getSolution ( int  i) [inline]

Definition at line 70 of file gfemBasisOne.h.

void concepts::gfem::GfemBasisOne::orthogonalize ( )
void concepts::gfem::GfemBasisOne::printSigmas ( ) const
void concepts::gfem::GfemBasisOne::releaseContents ( ) [inline]

releases the solutions WITHOUT deleting them.

I.e. so that this class can be used as a temporary container for functions that later are moved to Unitcell.

Definition at line 46 of file gfemBasisOne.h.

void concepts::gfem::GfemBasisOne::setAllKs ( Cmplx  k1,
Cmplx  k2 
)
void concepts::gfem::PC_UC_Solver::setOmega ( double  omega) [inherited]
void concepts::gfem::PC_UC_Solver::setRhs ( const std::string &  rhs_r,
const std::string &  rhs_i 
) [inherited]
int concepts::gfem::GfemBasisOne::size ( ) const [inline]

Definition at line 74 of file gfemBasisOne.h.

void concepts::gfem::GfemBasisOne::solve ( concepts::Cmplx  k1,
concepts::Cmplx  k2 
) [inline]

this function solves the UC EV problem and stores the results.

Definition at line 51 of file gfemBasisOne.h.

void concepts::gfem::PC_UC_Solver::solve ( concepts::Cmplx  k1,
concepts::Cmplx  k2,
concepts::Vector< concepts::Cmplx > &  sol 
) [inherited]
void concepts::gfem::GfemBasisOne::sort ( ) [private]
void concepts::gfem::GfemBasisOne::transformReal ( ) [private]

Member Data Documentation

Definition at line 74 of file PC_UC_Solver.h.

Definition at line 75 of file PC_UC_Solver.h.

Definition at line 83 of file PC_UC_Solver.h.

Definition at line 84 of file PC_UC_Solver.h.

Definition at line 65 of file PC_UC_Solver.h.

Definition at line 72 of file PC_UC_Solver.h.

Definition at line 71 of file PC_UC_Solver.h.

Definition at line 76 of file PC_UC_Solver.h.

Definition at line 82 of file PC_UC_Solver.h.

Definition at line 77 of file PC_UC_Solver.h.

Definition at line 81 of file PC_UC_Solver.h.

Definition at line 73 of file PC_UC_Solver.h.

Definition at line 80 of file PC_UC_Solver.h.

double concepts::gfem::PC_UC_Solver::omega [protected, inherited]

Definition at line 67 of file PC_UC_Solver.h.

Definition at line 70 of file PC_UC_Solver.h.

Definition at line 79 of file PC_UC_Solver.h.

Definition at line 64 of file PC_UC_Solver.h.

std::vector< UC_Sol* > concepts::gfem::GfemBasisOne::uc_sols [private]

Definition at line 88 of file gfemBasisOne.h.

Definition at line 69 of file PC_UC_Solver.h.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)