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

Classes | Typedefs | Functions
concepts::gfem Namespace Reference

Classes

class  FormulaToElemFormula
class  GfemAdvectionIgnore
class  GfemBasisOne
struct  GfemCellParams
struct  GfemControl
class  GfemDiffraction
 solver for unit cell problem for photonic crystals. More...
struct  GfemDofIterator
struct  GfemDofIteratorFast
class  GfemIdentity
class  GfemIdentityIgnore
class  GfemLaplace
struct  GfemOverlapCondition
class  GfemQuad
class  GfemQuadFast
class  GfemQuadGraphics
class  GfemQuadGraphicsFast
class  GfemRiesz
class  GfemSpace
class  GfemSpaceFast
struct  GfemSpaceParams
 Parameter for GfemSpace. More...
class  GfemUCQuad
class  InputSol_filename
class  InputUC_filename
class  PC_UC_Solver
 solver for unit cell problem for photonic crystals. More...
class  PeriodicRect
class  Riesz
 Linear form in 2D. More...
struct  UC_Sol
struct  Unitcell
 assumes rectangular axis-aligned geometry of the underlying mesh. More...
struct  UnitcellMask
class  UpcastFormula

Typedefs

typedef GfemControl< 2 > GfemControlCell
typedef GfemControl< 1 > GfemControlEdge
typedef GfemControl< 0 > GfemControlVert
typedef std::map< int, double > MID

Functions

bool loadCoeffVector (std::string filename, concepts::Vector< Cmplx > &coeffs)
 Loads a coefficient vector from the file filename and store it in coeffs.
void loadEFs (const Space< Real > &uc_space, Unitcell &uc, std::string ef_filename="work/efs.dat")
 Loads a list of complex valued coefficient vectors from the file ef_filename.
std::auto_ptr< DenseMatrix
< Real > > 
loadRawMatrix (std::string filename)
template<uint dim>
std::ostream & operator<< (std::ostream &os, const GfemControl< dim > &c)
template<class SpaceType >
void storeMatlabExt (SpaceType &space, std::string filename, std::string filenameGrad, concepts::Vector< concepts::Cmplx > sol, std::string additional="", bool restoreQR=true, int graphik=12, std::string quadType_str="trapeze", bool addPolDegToGraphik=false)
template<class SpaceType , class SpaceTypeUC >
void storeMatlabExt (SpaceType &space, SpaceTypeUC &spaceUC, std::string filename, std::string filenameGrad, concepts::Vector< concepts::Cmplx > sol, std::string additional="", bool restoreQR=true, int graphik=12, std::string quadType_str="trapeze")

Typedef Documentation

Definition at line 167 of file gfemControl.h.

Definition at line 166 of file gfemControl.h.

Definition at line 165 of file gfemControl.h.

typedef std::map< int, double > concepts::gfem::MID

Definition at line 28 of file gfemDiffraction.h.


Function Documentation

bool concepts::gfem::loadCoeffVector ( std::string  filename,
concepts::Vector< Cmplx > &  coeffs 
)

Loads a coefficient vector from the file filename and store it in coeffs.

Returns:
false if the file format does not match the underlying FEM space uc_space, additionaly an error message is displayed.
void concepts::gfem::loadEFs ( const Space< Real > &  uc_space,
Unitcell &  uc,
std::string  ef_filename = "work/efs.dat" 
)

Loads a list of complex valued coefficient vectors from the file ef_filename.

The file contains a sequence of the following blocks, each specifying one coefficient vector n rk_1 ik_1 rk_2 ik_2 r_1 r_2 [...] r_n i_1 i_2 [...] i_n

where n is the number of entries in the next two rows, ik_1 (resp ik_2) and rk_1 (resp. rk_2) specify the imaginary and real parts of the wave vector (k_1, k_2) that gives a quasiperiodic boundary condition for this solution. The entries r_j and i_j specify the real (r_j) and imaginary (i_j) part of the coefficient c_j of the j-th basis function in the underlying FEM space uc_space.

The program will abort, if the file format does not match the underlying FEM space uc_space and an error message is displayed.

std::auto_ptr< DenseMatrix<Real> > concepts::gfem::loadRawMatrix ( std::string  filename)
template<uint dim>
std::ostream& concepts::gfem::operator<< ( std::ostream &  os,
const GfemControl< dim > &  c 
) [inline]

Definition at line 170 of file gfemControl.h.

template<class SpaceType >
void concepts::gfem::storeMatlabExt ( SpaceType &  space,
std::string  filename,
std::string  filenameGrad,
concepts::Vector< concepts::Cmplx sol,
std::string  additional = "",
bool  restoreQR = true,
int  graphik = 12,
std::string  quadType_str = "trapeze",
bool  addPolDegToGraphik = false 
) [inline]

Definition at line 187 of file inputHelp.h.

Here is the call graph for this function:

template<class SpaceType , class SpaceTypeUC >
void concepts::gfem::storeMatlabExt ( SpaceType &  space,
SpaceTypeUC &  spaceUC,
std::string  filename,
std::string  filenameGrad,
concepts::Vector< concepts::Cmplx sol,
std::string  additional = "",
bool  restoreQR = true,
int  graphik = 12,
std::string  quadType_str = "trapeze" 
) [inline]

Definition at line 131 of file inputHelp.h.

Here is the call graph for this function:


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