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

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
PC_Naiv_Solver Class Reference

solver for unit cell problem for photonic crystals. More...

#include <PC_Naiv_Solver.h>

Collaboration diagram for PC_Naiv_Solver:
Collaboration graph
[legend]

List of all members.

Public Types

enum  EquationType { TRANSVERSAL_ELECTRIC, TRANSVERSAL_MAGNETIC }

Public Member Functions

const hp2D::TraceSpacegetTraceSpace ()
 PC_Naiv_Solver (const concepts::Space< concepts::Real > &space, EquationType type, const MID &attrToEpsilon, double omega, const concepts::BoundaryConditions &bc, concepts::Set< uint > nonRefl_bdAttr)
void setNonRefl (concepts::Set< uint > nonRefl_bdAttr, std::string u_inc_r, std::string u_inc_i, std::string Du_inc_r, std::string Du_inc_i)
void setOmega (double omega)
void setRhs (const std::string &rhs_r, const std::string &rhs_i)
void solve (concepts::Vector< concepts::Cmplx > &sol)

Static Public Member Functions

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

Private Attributes

concepts::BoundaryConditions bc
concepts::PiecewiseConstFormula
< concepts::Real
coeff_TE_F
concepts::PiecewiseConstFormula
< concepts::Real
coeff_TM_F
hp2D::Identity< Real > id_mass_BF
concepts::SparseMatrix
< concepts::Real
id_mass_M
hp2D::Identity< Real > id_trace_BF
concepts::SparseMatrix
< concepts::Real
id_trace_M
hp2D::Laplace< concepts::Reallap_BF
concepts::SparseMatrix
< concepts::Real
lap_M
double omega
concepts::Vector< concepts::Cmplxrhs
const concepts::Space
< concepts::Real > & 
space
hp2D::TraceSpace trace_space

Static Private Attributes

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

Detailed Description

solver for unit cell problem for photonic crystals.

Solves problems of transversal electric (TE) and trans. magnetic (TM) kind.

Definition at line 37 of file PC_Naiv_Solver.h.


Member Enumeration Documentation

Enumerator:
TRANSVERSAL_ELECTRIC 
TRANSVERSAL_MAGNETIC 

Definition at line 39 of file PC_Naiv_Solver.h.


Constructor & Destructor Documentation

PC_Naiv_Solver::PC_Naiv_Solver ( const concepts::Space< concepts::Real > &  space,
EquationType  type,
const MID attrToEpsilon,
double  omega,
const concepts::BoundaryConditions bc,
concepts::Set< uint >  nonRefl_bdAttr 
)

Member Function Documentation

static concepts::PiecewiseConstFormula<concepts::Real> PC_Naiv_Solver::genTECoeff ( const MID attToEps) [static]
static concepts::PiecewiseConstFormula<concepts::Real> PC_Naiv_Solver::genTMCoeff ( const MID attToEps) [static]
const hp2D::TraceSpace& PC_Naiv_Solver::getTraceSpace ( ) [inline]

Definition at line 67 of file PC_Naiv_Solver.h.

void PC_Naiv_Solver::setNonRefl ( concepts::Set< uint >  nonRefl_bdAttr,
std::string  u_inc_r,
std::string  u_inc_i,
std::string  Du_inc_r,
std::string  Du_inc_i 
)
void PC_Naiv_Solver::setOmega ( double  omega)
void PC_Naiv_Solver::setRhs ( const std::string &  rhs_r,
const std::string &  rhs_i 
)
void PC_Naiv_Solver::solve ( concepts::Vector< concepts::Cmplx > &  sol)

Member Data Documentation

Definition at line 74 of file PC_Naiv_Solver.h.

Definition at line 82 of file PC_Naiv_Solver.h.

Definition at line 81 of file PC_Naiv_Solver.h.

Definition at line 84 of file PC_Naiv_Solver.h.

Definition at line 89 of file PC_Naiv_Solver.h.

Definition at line 85 of file PC_Naiv_Solver.h.

Definition at line 90 of file PC_Naiv_Solver.h.

Definition at line 83 of file PC_Naiv_Solver.h.

Definition at line 88 of file PC_Naiv_Solver.h.

double PC_Naiv_Solver::omega [private]

Definition at line 76 of file PC_Naiv_Solver.h.

Definition at line 79 of file PC_Naiv_Solver.h.

Definition at line 80 of file PC_Naiv_Solver.h.

Definition at line 87 of file PC_Naiv_Solver.h.

Definition at line 72 of file PC_Naiv_Solver.h.

Definition at line 73 of file PC_Naiv_Solver.h.

Definition at line 78 of file PC_Naiv_Solver.h.


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

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