Gascoigne::PatchDiscretization Class Reference

... comments PatchDiscretization More...

#include <patchdiscretization.h>

Inheritance diagram for Gascoigne::PatchDiscretization:

Inheritance graph
[legend]
Collaboration diagram for Gascoigne::PatchDiscretization:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PatchDiscretization ()
 Constructor.
 ~PatchDiscretization ()
std::string GetName () const
void Structure (SparseStructureInterface *S) const
void Form (GlobalVector &f, const GlobalVector &u, const Equation &EQ, double d) const
void AdjointForm (GlobalVector &f, const GlobalVector &u, const Equation &EQ, double d) const
void BoundaryForm (GlobalVector &f, const GlobalVector &u, const IntSet &Colors, const BoundaryEquation &BE, double d) const
void Matrix (MatrixInterface &A, const GlobalVector &u, const Equation &EQ, double) const
void BoundaryMatrix (MatrixInterface &A, const GlobalVector &u, const IntSet &Colors, const BoundaryEquation &BE, double d) const
void MassMatrix (MatrixInterface &M) const
void MassForm (GlobalVector &f, const GlobalVector &u, const TimePattern &TP, double s) const
void ComputeError (const GlobalVector &u, LocalVector &err, const ExactSolution *ES) const
void Rhs (GlobalVector &f, const DomainRightHandSide &RHS, double s) const
void DiracRhs (GlobalVector &f, const DiracRightHandSide &DRHS, double s) const
void BoundaryRhs (GlobalVector &f, const IntSet &Colors, const BoundaryRightHandSide &NRHS, double s) const
void InitFilter (nvector< double > &) const
double ComputeBoundaryFunctional (const GlobalVector &u, const IntSet &Colors, const BoundaryFunctional &BF) const
double ComputeDomainFunctional (const GlobalVector &u, const DomainFunctional &F) const
double ComputePointFunctional (const GlobalVector &u, const PointFunctional &FP) const
virtual nmatrix< double > GetLocalInterpolationWeights (int iq) const

Protected Member Functions

const FemInterfaceGetFem () const
const IntegratorInterfaceGetIntegrator () const
IntegratorInterface *& GetIntegratorPointer ()
FemInterface *& GetFemPointer ()
virtual void Transformation (FemInterface::Matrix &T, int iq) const
virtual double compute_element_mean_matrix (int iq, EntryMatrix &E) const
virtual int GetPatchNumber (const Vertex2d &p0, Vertex2d &p) const
virtual int GetPatchNumber (const Vertex3d &p0, Vertex3d &p) const
const PatchMeshGetPatchMesh () const
const GascoigneMeshGetGascoigneMesh () const
double ComputePointValue (const GlobalVector &u, const Vertex2d &p0, int comp) const
double ComputePointValue (const GlobalVector &u, const Vertex3d &p0, int comp) const
virtual void DiracRhsPoint (GlobalVector &f, const DiracRightHandSide &DRHS, const Vertex2d &p0, int i, double s) const
virtual void DiracRhsPoint (GlobalVector &f, const DiracRightHandSide &DRHS, const Vertex3d &p0, int i, double s) const
void GlobalToLocalCell (LocalVector &U, const GlobalVector &u, int iq) const

Protected Attributes

FemInterface__FEM
IntegratorInterface__INT

Detailed Description

... comments PatchDiscretization


Constructor & Destructor Documentation

Gascoigne::PatchDiscretization::PatchDiscretization (  )  [inline]

Constructor.

Gascoigne::PatchDiscretization::~PatchDiscretization (  )  [inline]


Member Function Documentation

void Gascoigne::PatchDiscretization::AdjointForm ( GlobalVector f,
const GlobalVector u,
const Equation EQ,
double  d 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::BoundaryForm ( GlobalVector f,
const GlobalVector u,
const IntSet Colors,
const BoundaryEquation BE,
double  d 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::BoundaryMatrix ( MatrixInterface A,
const GlobalVector u,
const IntSet Colors,
const BoundaryEquation BE,
double  d 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q4.

void Gascoigne::PatchDiscretization::BoundaryRhs ( GlobalVector f,
const IntSet Colors,
const BoundaryRightHandSide NRHS,
double  s 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

double Gascoigne::PatchDiscretization::compute_element_mean_matrix ( int  iq,
EntryMatrix E 
) const [protected, virtual]

double Gascoigne::PatchDiscretization::ComputeBoundaryFunctional ( const GlobalVector u,
const IntSet Colors,
const BoundaryFunctional BF 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q4.

double Gascoigne::PatchDiscretization::ComputeDomainFunctional ( const GlobalVector u,
const DomainFunctional F 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q4.

void Gascoigne::PatchDiscretization::ComputeError ( const GlobalVector u,
LocalVector err,
const ExactSolution ES 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q4.

double Gascoigne::PatchDiscretization::ComputePointFunctional ( const GlobalVector u,
const PointFunctional FP 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

double Gascoigne::PatchDiscretization::ComputePointValue ( const GlobalVector u,
const Vertex3d p0,
int  comp 
) const [protected]

double Gascoigne::PatchDiscretization::ComputePointValue ( const GlobalVector u,
const Vertex2d p0,
int  comp 
) const [protected]

void Gascoigne::PatchDiscretization::DiracRhs ( GlobalVector f,
const DiracRightHandSide DRHS,
double  s 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

void Gascoigne::PatchDiscretization::DiracRhsPoint ( GlobalVector f,
const DiracRightHandSide DRHS,
const Vertex3d p0,
int  i,
double  s 
) const [protected, virtual]

Reimplemented in Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q13d, Gascoigne::DwrFemQ2Q43d, and Gascoigne::DwrFemQ4Q23d.

void Gascoigne::PatchDiscretization::DiracRhsPoint ( GlobalVector f,
const DiracRightHandSide DRHS,
const Vertex2d p0,
int  i,
double  s 
) const [protected, virtual]

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q42d, and Gascoigne::DwrFemQ4Q22d.

void Gascoigne::PatchDiscretization::Form ( GlobalVector f,
const GlobalVector u,
const Equation EQ,
double  d 
) const [virtual]

Implements Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

const FemInterface* Gascoigne::PatchDiscretization::GetFem (  )  const [inline, protected]

FemInterface*& Gascoigne::PatchDiscretization::GetFemPointer (  )  [inline, protected]

const GascoigneMesh* Gascoigne::PatchDiscretization::GetGascoigneMesh (  )  const [inline, protected]

const IntegratorInterface* Gascoigne::PatchDiscretization::GetIntegrator (  )  const [inline, protected]

IntegratorInterface*& Gascoigne::PatchDiscretization::GetIntegratorPointer (  )  [inline, protected]

virtual nmatrix<double> Gascoigne::PatchDiscretization::GetLocalInterpolationWeights ( int  iq  )  const [inline, virtual]

Reimplemented in Gascoigne::Q22d, and Gascoigne::Q23d.

std::string Gascoigne::PatchDiscretization::GetName (  )  const [inline, virtual]

Implements Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q2Gls2d, Gascoigne::Q2Lps2d, Gascoigne::Q2Lps2dWithSecond, Gascoigne::Q2Lps3d, Gascoigne::Q2Lps3dWithSecond, Gascoigne::Q22d, Gascoigne::Q22dWithSecond, Gascoigne::Q23d, Gascoigne::Q23dWithSecond, Gascoigne::Q4, Gascoigne::Q42d, and Gascoigne::Q43d.

const PatchMesh* Gascoigne::PatchDiscretization::GetPatchMesh (  )  const [inline, protected]

virtual int Gascoigne::PatchDiscretization::GetPatchNumber ( const Vertex3d p0,
Vertex3d p 
) const [inline, protected, virtual]

Reimplemented in Gascoigne::Q23d, and Gascoigne::Q43d.

virtual int Gascoigne::PatchDiscretization::GetPatchNumber ( const Vertex2d p0,
Vertex2d p 
) const [inline, protected, virtual]

Reimplemented in Gascoigne::Q22d, and Gascoigne::Q42d.

void Gascoigne::PatchDiscretization::GlobalToLocalCell ( LocalVector U,
const GlobalVector u,
int  iq 
) const [protected, virtual]

Reimplemented from Gascoigne::BasicDiscretization.

Reimplemented in Gascoigne::Q4.

void Gascoigne::PatchDiscretization::InitFilter ( nvector< double > &   )  const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q2, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::MassForm ( GlobalVector f,
const GlobalVector u,
const TimePattern TP,
double  s 
) const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::MassMatrix ( MatrixInterface M  )  const [virtual]

Reimplemented from Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::Q2, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::Matrix ( MatrixInterface A,
const GlobalVector u,
const Equation EQ,
double   
) const [virtual]

Implements Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q2, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::Rhs ( GlobalVector f,
const DomainRightHandSide RHS,
double  s 
) const [virtual]

Implements Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::Structure ( SparseStructureInterface S  )  const [virtual]

Implements Gascoigne::DiscretizationInterface.

Reimplemented in Gascoigne::Q2, and Gascoigne::Q4.

void Gascoigne::PatchDiscretization::Transformation ( FemInterface::Matrix T,
int  iq 
) const [protected, virtual]

Reimplemented in Gascoigne::Q1LpsStab2d, Gascoigne::Q1LpsStab3d, and Gascoigne::Q4.


Member Data Documentation

FemInterface* Gascoigne::PatchDiscretization::__FEM [protected]

IntegratorInterface* Gascoigne::PatchDiscretization::__INT [protected]


The documentation for this class was generated from the following files:
Generated on Thu Sep 14 10:48:28 2006 for Gascoigne by  doxygen 1.4.7