#include <gfemLaplace.h>


Public Types | |
| typedef RCP< const ElementFormula< Cmplx > > | ElementFormulaRCP |
| typedef concepts::Combtype < Cmplx, typename concepts::Realtype< Cmplx > ::type >::type | value_type |
Public Member Functions | |
| virtual GfemLaplace * | clone () const |
| Virtual constructor. | |
| void | computeEM_reference (const GfemQuadFast &elmX, const GfemQuadFast &elmY, concepts::ElementMatrix< Cmplx > &em) |
| void | data (const concepts::RCP< concepts::SharedJacobianAdj< 2 > > d) |
| Set the pointer to the shared data. | |
| concepts::RCP < concepts::SharedJacobianAdj< 2 > > | data () const |
| Gets the pointer to the shared data. | |
| GfemLaplace (ElementFormulaRCP formula, bool ignoreNonGfem=false) | |
| GfemLaplace (const GfemLaplace &other) | |
| virtual void | operator() (const Element< typename Realtype< Cmplx >::type > &elmX, const Element< typename Realtype< Cmplx >::type > &elmY, ElementMatrix< Cmplx > &em, const ElementPair< typename Realtype< Cmplx >::type > &ep) |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. | |
| virtual void | operator() (const Element< typename Realtype< Cmplx >::type > &elmX, const Element< typename Realtype< Cmplx >::type > &elmY, ElementMatrix< Cmplx > &em)=0 |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. | |
| void | operator() (const GfemQuad &elmX, const GfemQuad &elmY, concepts::ElementMatrix< Cmplx > &em) |
| virtual void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< Cmplx > &em) |
| void | operator() (const GfemQuadFast &elmX, const GfemQuadFast &elmY, concepts::ElementMatrix< Cmplx > &em) |
| virtual | ~GfemLaplace () |
Protected Member Functions | |
| void | allocHelpers (const GfemQuadFast &elm1) |
| bool | assemble_ (const Quad< Real > *elmX, const Quad< Real > *elmY, concepts::ElementMatrix< value_type > &em) |
| void | computeIntermediate_ (const BaseQuad< Real > &elm, const int i=-1, const int j=-1) |
| Compute the intermediate data for element matrix computation. | |
| void | fillHelpers (const GfemQuadFast &elm1) |
| Cmplx & | getH1 (int nu1, int jmac1, int imac2, int jmac2, int imic1, int imic2) |
| Cmplx & | getH2 (int ikappa1, int imac2, int jmac2, int imic1, int imic2) |
| Cmplx & | getH4 (int ikappa1, int ikappa2, int imic1, int imic2) |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| concepts::ElementFormulaContainer < F > | frm_ |
| Element formula. | |
| concepts::ElementFormulaContainer < concepts::Mapping< G, 2 > > | frmM_ |
| Matrix element formula. | |
| Cmplx * | H1 |
| Cmplx * | H2 |
| Cmplx * | H4 |
| int | i_comp |
| int | i_diff1 |
| int | i_diff2 |
| bool | ignoreNonGfem |
| concepts::Array < concepts::Mapping< G, 2 > > | intermediateMatrix_ |
| Intermediate matrix. | |
| concepts::Array< F > | intermediateValue_ |
| Intermediate value. | |
| KarniadakisCoeffs * | kcoeffsX_ |
| KarniadakisCoeffs * | kcoeffsY_ |
| int | nKappa [2] |
| int | nMacro [2] |
| int | nMic |
| int | pMacro [2] |
Static Protected Attributes | |
| static const int | SELMAC = KarniadakisCoeffs::SELMAC |
| static const int | SELMIC = 1 - KarniadakisCoeffs::SELMAC |
| static const int | SELX = 0 |
| static const int | SELY = 1 |
Private Attributes | |
| ElementFormulaRCP | formula |
Definition at line 11 of file gfemLaplace.h.
| typedef RCP<const ElementFormula<Cmplx> > concepts::gfem::GfemLaplace::ElementFormulaRCP |
Definition at line 16 of file gfemLaplace.h.
typedef concepts::Combtype<Cmplx ,typename concepts::Realtype<Cmplx >::type >::type hp2D::LaplaceBase< Cmplx , typename concepts::Realtype<Cmplx >::type >::value_type [inherited] |
Definition at line 62 of file bf_laplace.hh.
| concepts::gfem::GfemLaplace::GfemLaplace | ( | ElementFormulaRCP | formula, |
| bool | ignoreNonGfem = false |
||
| ) | [inline] |
| ignoreNonGfem | does not call the inherited operator for hp2D::Elements, and rather ignores those elements completely. |
Definition at line 21 of file gfemLaplace.h.
| concepts::gfem::GfemLaplace::GfemLaplace | ( | const GfemLaplace & | other | ) | [inline] |
Definition at line 33 of file gfemLaplace.h.
| virtual concepts::gfem::GfemLaplace::~GfemLaplace | ( | ) | [inline, virtual] |
Definition at line 60 of file gfemLaplace.h.
| void concepts::gfem::GfemLaplace::allocHelpers | ( | const GfemQuadFast & | elm1 | ) | [protected] |
| bool hp2D::LaplaceBase< Cmplx , typename concepts::Realtype<Cmplx >::type >::assemble_ | ( | const Quad< Real > * | elmX, |
| const Quad< Real > * | elmY, | ||
| concepts::ElementMatrix< value_type > & | em | ||
| ) | [protected, inherited] |
| virtual GfemLaplace* concepts::gfem::GfemLaplace::clone | ( | ) | const [inline, virtual] |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Reimplemented from hp2D::Laplace< Cmplx >.
Definition at line 29 of file gfemLaplace.h.

| void concepts::gfem::GfemLaplace::computeEM_reference | ( | const GfemQuadFast & | elmX, |
| const GfemQuadFast & | elmY, | ||
| concepts::ElementMatrix< Cmplx > & | em | ||
| ) |
| void hp2D::BilinearFormHelper_1_1< F, G >::computeIntermediate_ | ( | const BaseQuad< Real > & | elm, |
| const int | i = -1, |
||
| const int | j = -1 |
||
| ) | [protected, inherited] |
Compute the intermediate data for element matrix computation.
| i | if i=0 or 1, then take only i-th column of Jacobian matrix (for test function) |
| j | if j=0 or 1, then take only j-th column of Jacobian matrix (for trial function) |
The Jacobian matrices have to been taken both full (i,j = -1) or both partial (i,j = 0 or 1).
Matrix formulas and complex valued scalar formulas are only implemented for full Jacobians.
| concepts::RCP<concepts::SharedJacobianAdj<2> > hp2D::BilinearFormHelper_1_1< F, G >::data | ( | ) | const [inherited] |
Gets the pointer to the shared data.
| void hp2D::BilinearFormHelper_1_1< F, G >::data | ( | const concepts::RCP< concepts::SharedJacobianAdj< 2 > > | d | ) | [inherited] |
Set the pointer to the shared data.
| void concepts::gfem::GfemLaplace::fillHelpers | ( | const GfemQuadFast & | elm1 | ) | [protected] |
| Cmplx& concepts::gfem::GfemLaplace::getH1 | ( | int | nu1, |
| int | jmac1, | ||
| int | imac2, | ||
| int | jmac2, | ||
| int | imic1, | ||
| int | imic2 | ||
| ) | [inline, protected] |
Definition at line 90 of file gfemLaplace.h.
| Cmplx& concepts::gfem::GfemLaplace::getH2 | ( | int | ikappa1, |
| int | imac2, | ||
| int | jmac2, | ||
| int | imic1, | ||
| int | imic2 | ||
| ) | [inline, protected] |
Definition at line 80 of file gfemLaplace.h.
| Cmplx& concepts::gfem::GfemLaplace::getH4 | ( | int | ikappa1, |
| int | ikappa2, | ||
| int | imic1, | ||
| int | imic2 | ||
| ) | [inline, protected] |
Definition at line 72 of file gfemLaplace.h.
| virtual std::ostream& concepts::gfem::GfemLaplace::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from hp2D::Laplace< Cmplx >.
| void concepts::gfem::GfemLaplace::operator() | ( | const GfemQuad & | elmX, |
| const GfemQuad & | elmY, | ||
| concepts::ElementMatrix< Cmplx > & | em | ||
| ) |
| virtual void concepts::gfem::GfemLaplace::operator() | ( | const concepts::Element< Real > & | elmX, |
| const concepts::Element< Real > & | elmY, | ||
| concepts::ElementMatrix< Cmplx > & | em | ||
| ) | [virtual] |
Reimplemented from hp2D::Laplace< Cmplx >.
| void concepts::gfem::GfemLaplace::operator() | ( | const GfemQuadFast & | elmX, |
| const GfemQuadFast & | elmY, | ||
| concepts::ElementMatrix< Cmplx > & | em | ||
| ) |
| virtual void concepts::BilinearForm< Cmplx , typename Realtype<Cmplx >::type >::operator() | ( | const Element< typename Realtype<Cmplx >::type > & | elmX, |
| const Element< typename Realtype<Cmplx >::type > & | elmY, | ||
| ElementMatrix< Cmplx > & | em, | ||
| const ElementPair< typename Realtype<Cmplx >::type > & | ep | ||
| ) | [inline, virtual, inherited] |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.
If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep.
em has the correct size. | elmX | Left element |
| elmY | Right element |
| em | Return element matrix |
| ep | Element pair holding more information on the pair elmX and elmY |
Definition at line 53 of file bilinearForm.hh.
| virtual void concepts::BilinearForm< Cmplx , typename Realtype<Cmplx >::type >::operator() | ( | const Element< typename Realtype<Cmplx >::type > & | elmX, |
| const Element< typename Realtype<Cmplx >::type > & | elmY, | ||
| ElementMatrix< Cmplx > & | em | ||
| ) | [pure virtual, inherited] |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.
em has the correct size. | elmX | Left element (test functions) |
| elmY | Right element (trial functions) |
| em | Return element matrix |
Definition at line 66 of file gfemLaplace.h.
concepts::ElementFormulaContainer<F> hp2D::BilinearFormHelper_1_1< F, G >::frm_ [protected, inherited] |
Element formula.
Definition at line 216 of file bilinearFormHelper.hh.
concepts::ElementFormulaContainer<concepts::Mapping<G,2> > hp2D::BilinearFormHelper_1_1< F, G >::frmM_ [protected, inherited] |
Matrix element formula.
Definition at line 218 of file bilinearFormHelper.hh.
Cmplx* concepts::gfem::GfemLaplace::H1 [protected] |
Definition at line 109 of file gfemLaplace.h.
Cmplx* concepts::gfem::GfemLaplace::H2 [protected] |
Definition at line 108 of file gfemLaplace.h.
Cmplx* concepts::gfem::GfemLaplace::H4 [protected] |
Definition at line 107 of file gfemLaplace.h.
int concepts::gfem::GfemLaplace::i_comp [protected] |
Definition at line 118 of file gfemLaplace.h.
int concepts::gfem::GfemLaplace::i_diff1 [protected] |
Definition at line 116 of file gfemLaplace.h.
int concepts::gfem::GfemLaplace::i_diff2 [protected] |
Definition at line 117 of file gfemLaplace.h.
bool concepts::gfem::GfemLaplace::ignoreNonGfem [protected] |
Definition at line 122 of file gfemLaplace.h.
concepts::Array<concepts::Mapping<G,2> > hp2D::BilinearFormHelper_1_1< F, G >::intermediateMatrix_ [protected, inherited] |
Intermediate matrix.
In case of a scalar formula:
In case of a matrix formula
:
In case of partial Jacobian:
Definition at line 214 of file bilinearFormHelper.hh.
concepts::Array<F> hp2D::BilinearFormHelper_1_1< F, G >::intermediateValue_ [protected, inherited] |
Intermediate value.
In case of a scalar formula:
In case of a matrix formula:
Definition at line 202 of file bilinearFormHelper.hh.
KarniadakisCoeffs* concepts::gfem::GfemLaplace::kcoeffsX_ [protected] |
Definition at line 120 of file gfemLaplace.h.
KarniadakisCoeffs* concepts::gfem::GfemLaplace::kcoeffsY_ [protected] |
Definition at line 121 of file gfemLaplace.h.
int concepts::gfem::GfemLaplace::nKappa[2] [protected] |
Definition at line 105 of file gfemLaplace.h.
int concepts::gfem::GfemLaplace::nMacro[2] [protected] |
Definition at line 104 of file gfemLaplace.h.
int concepts::gfem::GfemLaplace::nMic [protected] |
Definition at line 102 of file gfemLaplace.h.
int concepts::gfem::GfemLaplace::pMacro[2] [protected] |
Definition at line 103 of file gfemLaplace.h.
const int concepts::gfem::GfemLaplace::SELMAC = KarniadakisCoeffs::SELMAC [static, protected] |
Definition at line 113 of file gfemLaplace.h.
const int concepts::gfem::GfemLaplace::SELMIC = 1 - KarniadakisCoeffs::SELMAC [static, protected] |
Definition at line 114 of file gfemLaplace.h.
const int concepts::gfem::GfemLaplace::SELX = 0 [static, protected] |
Definition at line 111 of file gfemLaplace.h.
const int concepts::gfem::GfemLaplace::SELY = 1 [static, protected] |
Definition at line 112 of file gfemLaplace.h.