NeoPZ
Public Member Functions | Private Attributes | List of all members
TPZAnalyticSolution::TExactState Class Reference

#include <TPZAnalyticSolution.h>

Inheritance diagram for TPZAnalyticSolution::TExactState:
[legend]
Collaboration diagram for TPZAnalyticSolution::TExactState:
[legend]

Public Member Functions

 TExactState (const TPZAnalyticSolution *root)
 
virtual ~TExactState ()
 
virtual void Execute (const TPZVec< REAL > &x, TPZVec< STATE > &f, TPZFMatrix< STATE > &df)
 Performs function computation. More...
 
virtual void Execute (const TPZVec< REAL > &x, TPZVec< STATE > &f)
 Performs function computation. More...
 
virtual int PolynomialOrder () const
 Polynomial order of this function. More...
 
- Public Member Functions inherited from TPZFunction< STATE >
 TPZFunction ()
 Class constructor. More...
 
 ~TPZFunction ()
 Class destructor. More...
 
virtual void Execute (const TPZVec< REAL > &x, REAL time, TPZVec< STATE > &f, TPZFMatrix< STATE > &gradf)
 Performs time dependent function computation. More...
 
virtual void Execute (const TPZVec< REAL > &x, const TPZFMatrix< REAL > &axes, TPZVec< STATE > &f, TPZFMatrix< STATE > &df)
 Execute method receiving axes. It is used in shape functions. More...
 
virtual int NFunctions () const
 number of values returned by this function More...
 
virtual void Print (std::ostream &out)
 Print a brief statement. More...
 
int ClassId () const override
 Define the class id associated with the class. More...
 
void Write (TPZStream &buf, int withclassid) const override
 Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More...
 
void Read (TPZStream &buf, void *context) override
 read objects from the stream More...
 
- Public Member Functions inherited from TPZSavable
 TPZSavable ()
 
virtual ~TPZSavable ()
 
virtual std::list< std::map< std::string, uint64_t > > VersionHistory () const
 
virtual std::pair< std::string, uint64_t > Version () const
 
virtual bool Compare (TPZSavable *copy, bool override=false)
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
virtual bool Compare (TPZSavable *copy, bool override=false) const
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
- Public Member Functions inherited from TPZRegisterClassId
template<typename T >
 TPZRegisterClassId (int(T::*)() const)
 
 TPZRegisterClassId ()=default
 

Private Attributes

const TPZAnalyticSolutionfAnalytic
 

Additional Inherited Members

- Static Public Member Functions inherited from TPZSavable
static std::set< TPZRestoreClassBase * > & RestoreClassSet ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::map< int, TPZRestore_t > & ClassIdMap ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::pair< std::string, uint64_t > NeoPZVersion ()
 
static void Register (TPZRestoreClassBase *restore)
 
static void RegisterClassId (int classid, TPZRestore_t fun)
 
static TPZSavableCreateInstance (const int &classId)
 

Detailed Description

Definition at line 96 of file TPZAnalyticSolution.h.

Constructor & Destructor Documentation

◆ TExactState()

TPZAnalyticSolution::TExactState::TExactState ( const TPZAnalyticSolution root)
inline

Definition at line 101 of file TPZAnalyticSolution.h.

◆ ~TExactState()

virtual TPZAnalyticSolution::TExactState::~TExactState ( )
inlinevirtual

Definition at line 105 of file TPZAnalyticSolution.h.

Member Function Documentation

◆ Execute() [1/2]

virtual void TPZAnalyticSolution::TExactState::Execute ( const TPZVec< REAL > &  x,
TPZVec< STATE > &  f,
TPZFMatrix< STATE > &  df 
)
inlinevirtual

Performs function computation.

Parameters
xpoint coordinate which is suppose to be in real coordinate system but can be in master coordinate system in derived classes.
ffunction values
dffunction derivatives

Reimplemented from TPZFunction< STATE >.

Definition at line 115 of file TPZAnalyticSolution.h.

References TPZAnalyticSolution::Solution().

◆ Execute() [2/2]

virtual void TPZAnalyticSolution::TExactState::Execute ( const TPZVec< REAL > &  x,
TPZVec< STATE > &  f 
)
inlinevirtual

Performs function computation.

Parameters
xpoint coordinate which is suppose to be in real coordinate system but can be in master coordinate system in derived classes.
ffunction values
dffunction derivatives

Reimplemented from TPZFunction< STATE >.

Definition at line 125 of file TPZAnalyticSolution.h.

References TPZAnalyticSolution::Solution().

◆ PolynomialOrder()

virtual int TPZAnalyticSolution::TExactState::PolynomialOrder ( ) const
inlinevirtual

Polynomial order of this function.

In case of non-polynomial function it can be a reasonable approximation order.

Reimplemented from TPZFunction< STATE >.

Definition at line 132 of file TPZAnalyticSolution.h.

Member Data Documentation

◆ fAnalytic

const TPZAnalyticSolution* TPZAnalyticSolution::TExactState::fAnalytic
private

Definition at line 98 of file TPZAnalyticSolution.h.


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