Gascoigne::DiscretizationInterface Class Reference

... comments DiscretizationInterface More...

#include <discretizationinterface.h>

Inheritance diagram for Gascoigne::DiscretizationInterface:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DiscretizationInterface ()
virtual ~DiscretizationInterface ()
virtual const DataContainerGetDataContainer () const =0
virtual void SetDataContainer (const DataContainer &q) const =0
virtual std::string GetName () const =0
virtual void AddNodeVector (const std::string &name, const GlobalVector *q) const =0
virtual void DeleteNodeVector (const std::string &name) const =0
virtual void AddCellVector (const std::string &name, const GlobalVector *q) const =0
virtual void DeleteCellVector (const std::string &name) const =0
virtual void AddParameterVector (const std::string &name, const GlobalParameterVector *q) const =0
virtual void DeleteParameterVector (const std::string &name) const =0
virtual void BasicInit (const ParamFile *pf)=0
virtual void ReInit (const MeshInterface *M)=0
virtual int n () const =0
virtual int nc () const =0
virtual int n_withouthanging () const
virtual void Structure (SparseStructureInterface *S) const =0
virtual void Form (GlobalVector &f, const GlobalVector &u, const Equation &EQ, double d) const =0
virtual void Rhs (GlobalVector &f, const DomainRightHandSide &RHS, double s) const =0
virtual void Matrix (MatrixInterface &A, const GlobalVector &u, const Equation &EQ, double) const =0
virtual void AdjointForm (GlobalVector &f, const GlobalVector &u, const Equation &EQ, double d) const
virtual void BoundaryForm (GlobalVector &f, const GlobalVector &u, const IntSet &Colors, const BoundaryEquation &BE, double d) const
virtual void BoundaryMatrix (MatrixInterface &A, const GlobalVector &u, const IntSet &Colors, const BoundaryEquation &BE, double d) const
virtual void MassMatrix (MatrixInterface &M) const
virtual void MassForm (GlobalVector &f, const GlobalVector &u, const TimePattern &TP, double s) const
virtual void DiracRhs (GlobalVector &f, const DiracRightHandSide &DRHS, double s) const
virtual void BoundaryRhs (GlobalVector &f, const IntSet &Colors, const BoundaryRightHandSide &NRHS, double s) const
virtual void HNAverage (GlobalVector &x) const
virtual void HNDistribute (GlobalVector &x) const
virtual void HNZero (GlobalVector &x) const
virtual bool HNZeroCheck (const GlobalVector &x) const
virtual void HNAverageData () const
virtual void HNZeroData () const
virtual void Interpolate (GlobalVector &u, const DomainInitialCondition &U) const
virtual void InterpolateSolution (GlobalVector &u, const GlobalVector &uold) const
virtual void StrongDirichletMatrix (MatrixInterface &A, int col, const std::vector< int > &comp) const
virtual void StrongDirichletMatrixOnlyRow (MatrixInterface &A, int col, const std::vector< int > &comp) const
virtual void StrongDirichletVector (GlobalVector &u, const DirichletData &BF, int col, const std::vector< int > &comp, double d=1.) const
virtual void StrongDirichletVectorZero (GlobalVector &u, int col, const std::vector< int > &comp) const
virtual void InitFilter (DoubleVector &) const
virtual void StabForm (GlobalVector &f, const GlobalVector &u, const Equation &EQ, double d) const
virtual void ComputeError (const GlobalVector &u, LocalVector &err, const ExactSolution *ES) const
virtual void AssembleError (GlobalVector &eta, const GlobalVector &u, LocalVector &err, const ExactSolution *ES) const
virtual double ComputeBoundaryFunctional (const GlobalVector &u, const IntSet &Colors, const BoundaryFunctional &BF) const
virtual double ComputeDomainFunctional (const GlobalVector &u, const DomainFunctional &F) const
virtual double ComputePointFunctional (const GlobalVector &u, const PointFunctional &FP) const
virtual void EvaluateCellRightHandSide (GlobalVector &f, const DomainRightHandSide &CF, double d=1.) const
virtual void InterpolateDomainFunction (GlobalVector &f, const DomainFunction &DF) const
virtual void InterpolateCellDomainFunction (GlobalVector &f, const DomainFunction &DF) const
virtual void ConstructInterpolator (MgInterpolatorInterface *I, const MeshTransferInterface *MT)
virtual void GetVolumes (DoubleVector &a) const
virtual void GetMassDiag (DoubleVector &a) const
virtual void GetBoundaryMassDiag (DoubleVector &a) const

Detailed Description

... comments DiscretizationInterface


Constructor & Destructor Documentation

Gascoigne::DiscretizationInterface::DiscretizationInterface (  )  [inline]

virtual Gascoigne::DiscretizationInterface::~DiscretizationInterface (  )  [inline, virtual]


Member Function Documentation

virtual void Gascoigne::DiscretizationInterface::AddCellVector ( const std::string name,
const GlobalVector q 
) const [pure virtual]

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, and Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::AddNodeVector ( const std::string name,
const GlobalVector q 
) const [pure virtual]

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, and Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::AddParameterVector ( const std::string name,
const GlobalParameterVector q 
) const [pure virtual]

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, and Gascoigne::BasicDiscretization.

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

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

virtual void Gascoigne::DiscretizationInterface::AssembleError ( GlobalVector eta,
const GlobalVector u,
LocalVector err,
const ExactSolution ES 
) const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization.

virtual void Gascoigne::DiscretizationInterface::BasicInit ( const ParamFile pf  )  [pure virtual]

Implemented in Gascoigne::Q1Gls2d, Gascoigne::Q1Gls3d, Gascoigne::Q2Gls2d, Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, Gascoigne::Q2Lps2d, Gascoigne::Q2Lps2dWithSecond, Gascoigne::Q2Lps3d, Gascoigne::Q2Lps3dWithSecond, Gascoigne::BasicDiscretization, Gascoigne::Q12d, Gascoigne::Q13d, Gascoigne::DwrFem2d, Gascoigne::DwrFem3d, Gascoigne::Q22d, Gascoigne::Q22dWithSecond, Gascoigne::Q23d, Gascoigne::Q23dWithSecond, Gascoigne::DwrFemQ22d, Gascoigne::DwrFemQ23d, Gascoigne::Q42d, and Gascoigne::Q43d.

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

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

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

Reimplemented in Gascoigne::CellDiscretization, Gascoigne::PatchDiscretization, and Gascoigne::Q4.

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

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

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

Reimplemented in Gascoigne::CellDiscretization, Gascoigne::PatchDiscretization, and Gascoigne::Q4.

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

Reimplemented in Gascoigne::CellDiscretization, Gascoigne::PatchDiscretization, and Gascoigne::Q4.

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

Reimplemented in Gascoigne::CellDiscretization, Gascoigne::PatchDiscretization, and Gascoigne::Q4.

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

Reimplemented in Gascoigne::CellDiscretization, and Gascoigne::PatchDiscretization.

virtual void Gascoigne::DiscretizationInterface::ConstructInterpolator ( MgInterpolatorInterface I,
const MeshTransferInterface MT 
) [inline, virtual]

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

virtual void Gascoigne::DiscretizationInterface::DeleteCellVector ( const std::string name  )  const [pure virtual]

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, and Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::DeleteNodeVector ( const std::string name  )  const [pure virtual]

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, and Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::DeleteParameterVector ( const std::string name  )  const [pure virtual]

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, and Gascoigne::BasicDiscretization.

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

Reimplemented in Gascoigne::CellDiscretization, and Gascoigne::PatchDiscretization.

virtual void Gascoigne::DiscretizationInterface::EvaluateCellRightHandSide ( GlobalVector f,
const DomainRightHandSide CF,
double  d = 1. 
) const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization.

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

Implemented in Gascoigne::DwrLps2d, Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, Gascoigne::CellDiscretization, Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::PatchDiscretization, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

virtual void Gascoigne::DiscretizationInterface::GetBoundaryMassDiag ( DoubleVector a  )  const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization.

virtual const DataContainer& Gascoigne::DiscretizationInterface::GetDataContainer (  )  const [pure virtual]

Implemented in Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::GetMassDiag ( DoubleVector a  )  const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization.

virtual std::string Gascoigne::DiscretizationInterface::GetName (  )  const [pure virtual]

Implemented in Gascoigne::Q1Gls2d, Gascoigne::Q1Gls3d, Gascoigne::Q2Gls2d, Gascoigne::DwrLps2d, Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, Gascoigne::Q2Lps2d, Gascoigne::Q2Lps2dWithSecond, Gascoigne::Q2Lps3d, Gascoigne::Q2Lps3dWithSecond, Gascoigne::CellDiscretization, Gascoigne::Q12d, Gascoigne::Q13d, Gascoigne::PatchDiscretization, Gascoigne::Q22d, Gascoigne::Q22dWithSecond, Gascoigne::Q23d, Gascoigne::Q23dWithSecond, Gascoigne::Q4, Gascoigne::Q42d, and Gascoigne::Q43d.

virtual void Gascoigne::DiscretizationInterface::GetVolumes ( DoubleVector a  )  const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization.

virtual void Gascoigne::DiscretizationInterface::HNAverage ( GlobalVector x  )  const [inline, virtual]

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

virtual void Gascoigne::DiscretizationInterface::HNAverageData (  )  const [inline, virtual]

Reimplemented in Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::HNDistribute ( GlobalVector x  )  const [inline, virtual]

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

virtual void Gascoigne::DiscretizationInterface::HNZero ( GlobalVector x  )  const [inline, virtual]

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

virtual bool Gascoigne::DiscretizationInterface::HNZeroCheck ( const GlobalVector x  )  const [inline, virtual]

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

virtual void Gascoigne::DiscretizationInterface::HNZeroData (  )  const [inline, virtual]

Reimplemented in Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::InitFilter ( DoubleVector  )  const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization, Gascoigne::Q1, Gascoigne::PatchDiscretization, Gascoigne::Q2, and Gascoigne::Q4.

virtual void Gascoigne::DiscretizationInterface::Interpolate ( GlobalVector u,
const DomainInitialCondition U 
) const [inline, virtual]

Reimplemented in Gascoigne::Q12d, Gascoigne::Q13d, and Gascoigne::Q2.

virtual void Gascoigne::DiscretizationInterface::InterpolateCellDomainFunction ( GlobalVector f,
const DomainFunction DF 
) const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization.

virtual void Gascoigne::DiscretizationInterface::InterpolateDomainFunction ( GlobalVector f,
const DomainFunction DF 
) const [inline, virtual]

Reimplemented in Gascoigne::CellDiscretization.

virtual void Gascoigne::DiscretizationInterface::InterpolateSolution ( GlobalVector u,
const GlobalVector uold 
) const [inline, virtual]

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

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

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

virtual void Gascoigne::DiscretizationInterface::MassMatrix ( MatrixInterface M  )  const [inline, virtual]

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

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

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, Gascoigne::CellDiscretization, Gascoigne::Q1, Gascoigne::PatchDiscretization, Gascoigne::Q2, and Gascoigne::Q4.

virtual int Gascoigne::DiscretizationInterface::n (  )  const [pure virtual]

Implemented in Gascoigne::Q1LpsStab, Gascoigne::Q1, Gascoigne::Q2, and Gascoigne::Q4.

virtual int Gascoigne::DiscretizationInterface::n_withouthanging (  )  const [inline, virtual]

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

virtual int Gascoigne::DiscretizationInterface::nc (  )  const [pure virtual]

Implemented in Gascoigne::Q1LpsStab, Gascoigne::Q1, Gascoigne::Q2, and Gascoigne::Q4.

virtual void Gascoigne::DiscretizationInterface::ReInit ( const MeshInterface M  )  [pure virtual]

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, Gascoigne::BasicDiscretization, Gascoigne::Q1, Gascoigne::DwrFem2d, Gascoigne::DwrFem3d, Gascoigne::Q2, Gascoigne::DwrFemQ22d, Gascoigne::DwrFemQ23d, and Gascoigne::Q4.

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

Implemented in Gascoigne::CellDiscretization, Gascoigne::DwrFemQ1Q22d, Gascoigne::DwrFemQ1Q23d, Gascoigne::DwrFemQ2Q12d, Gascoigne::DwrFemQ2Q13d, Gascoigne::PatchDiscretization, Gascoigne::DwrFemQ2Q42d, Gascoigne::DwrFemQ4Q22d, Gascoigne::DwrFemQ2Q43d, Gascoigne::DwrFemQ4Q23d, and Gascoigne::Q4.

virtual void Gascoigne::DiscretizationInterface::SetDataContainer ( const DataContainer q  )  const [pure virtual]

Implemented in Gascoigne::BasicDiscretization.

virtual void Gascoigne::DiscretizationInterface::StabForm ( GlobalVector f,
const GlobalVector u,
const Equation EQ,
double  d 
) const [inline, virtual]

Reimplemented in Gascoigne::Q1Lps2d, and Gascoigne::Q1Lps3d.

virtual void Gascoigne::DiscretizationInterface::StrongDirichletMatrix ( MatrixInterface A,
int  col,
const std::vector< int > &  comp 
) const [inline, virtual]

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

virtual void Gascoigne::DiscretizationInterface::StrongDirichletMatrixOnlyRow ( MatrixInterface A,
int  col,
const std::vector< int > &  comp 
) const [inline, virtual]

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

virtual void Gascoigne::DiscretizationInterface::StrongDirichletVector ( GlobalVector u,
const DirichletData BF,
int  col,
const std::vector< int > &  comp,
double  d = 1. 
) const [inline, virtual]

Reimplemented in Gascoigne::Q12d, Gascoigne::Q13d, and Gascoigne::Q2.

virtual void Gascoigne::DiscretizationInterface::StrongDirichletVectorZero ( GlobalVector u,
int  col,
const std::vector< int > &  comp 
) const [inline, virtual]

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

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

Implemented in Gascoigne::Q1Lps2d, Gascoigne::Q1Lps3d, Gascoigne::CellDiscretization, Gascoigne::Q1, Gascoigne::PatchDiscretization, Gascoigne::Q2, and Gascoigne::Q4.


The documentation for this class was generated from the following file:
Generated on Thu Sep 14 10:49:19 2006 for Gascoigne by  doxygen 1.4.7