NeoPZ
Public Member Functions | Public Attributes | List of all members
TPZBndCond::TPZ_BCDefine Class Reference

#include <pzbndcond.h>

Inheritance diagram for TPZBndCond::TPZ_BCDefine:
[legend]
Collaboration diagram for TPZBndCond::TPZ_BCDefine:
[legend]

Public Member Functions

 TPZ_BCDefine ()
 
 TPZ_BCDefine (TPZFMatrix< STATE > Val2)
 
 TPZ_BCDefine (const TPZ_BCDefine &cp)
 
TPZ_BCDefineoperator= (const TPZ_BCDefine &cp)
 
 ~TPZ_BCDefine ()
 
int ClassId () const override
 Define the class id associated with the class. More...
 
void Read (TPZStream &buf, void *context) override
 read objects from the stream More...
 
void Write (TPZStream &buf, int withclassid) const override
 Writes this object to the TPZStream buffer. Include the classid if withclassid = true. 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
 

Public Attributes

TPZFNMatrix< 6, STATE > fBCVal2
 second value of boundary condition More...
 
TPZAutoPointer< TPZFunction< STATE > > fForcingFunction
 Pointer to forcing function, it is the right member at differential equation. More...
 
TPZAutoPointer< TPZFunction< STATE > > fForcingFunctionExact
 Pointer to exact solution function, needed to calculate exact error. More...
 
TPZAutoPointer< TPZFunction< STATE > > fTimeDependentForcingFunction
 Pointer to time dependent forcing function, it is the right member at differential equation. More...
 
TPZAutoPointer< TPZFunction< STATE > > fTimedependentFunctionExact
 Pointer to time dependent exact solution function, needed to calculate exact error. More...
 
TPZAutoPointer< TPZFunction< STATE > > fBCForcingFunction
 Pointer to bc forcing function, it is a variable boundary condition at differential equation. More...
 
TPZAutoPointer< TPZFunction< STATE > > fTimedependentBCForcingFunction
 Pointer to time dependent bc forcing function, it is a variable boundary condition at differential equation. More...
 

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 35 of file pzbndcond.h.

Constructor & Destructor Documentation

◆ TPZ_BCDefine() [1/3]

TPZBndCond::TPZ_BCDefine::TPZ_BCDefine ( )
inline

Definition at line 59 of file pzbndcond.h.

◆ TPZ_BCDefine() [2/3]

TPZBndCond::TPZ_BCDefine::TPZ_BCDefine ( TPZFMatrix< STATE >  Val2)
inline

Definition at line 64 of file pzbndcond.h.

◆ TPZ_BCDefine() [3/3]

TPZBndCond::TPZ_BCDefine::TPZ_BCDefine ( const TPZ_BCDefine cp)
inline

Definition at line 69 of file pzbndcond.h.

◆ ~TPZ_BCDefine()

TPZBndCond::TPZ_BCDefine::~TPZ_BCDefine ( )
inline

Definition at line 86 of file pzbndcond.h.

References ClassId(), Read(), and Write().

Member Function Documentation

◆ ClassId()

int TPZBndCond::TPZ_BCDefine::ClassId ( ) const
overridevirtual

Define the class id associated with the class.

This id has to be unique for all classes A non unique id is flagged at the startup of the program

Implements TPZSavable.

Definition at line 16 of file pzbndcond.cpp.

References Hash().

Referenced by TPZBndCond::Errors(), and ~TPZ_BCDefine().

◆ operator=()

TPZ_BCDefine& TPZBndCond::TPZ_BCDefine::operator= ( const TPZ_BCDefine cp)
inline

◆ Read()

void TPZBndCond::TPZ_BCDefine::Read ( TPZStream buf,
void *  context 
)
overridevirtual

◆ Write()

void TPZBndCond::TPZ_BCDefine::Write ( TPZStream buf,
int  withclassid 
) const
overridevirtual

Writes this object to the TPZStream buffer. Include the classid if withclassid = true.

Writes this object to the TPZStream buffer. Include the classid if withclassid = true

Reimplemented from TPZSavable.

Definition at line 30 of file pzbndcond.cpp.

References fBCForcingFunction, fBCVal2, fForcingFunction, fForcingFunctionExact, fTimedependentBCForcingFunction, fTimeDependentForcingFunction, fTimedependentFunctionExact, TPZFNMatrix< N, TVar >::Write(), and TPZPersistenceManager::WritePointer().

Referenced by TPZBndCond::Errors(), and ~TPZ_BCDefine().

Member Data Documentation

◆ fBCForcingFunction

TPZAutoPointer<TPZFunction<STATE> > TPZBndCond::TPZ_BCDefine::fBCForcingFunction

Pointer to bc forcing function, it is a variable boundary condition at differential equation.

Definition at line 54 of file pzbndcond.h.

Referenced by operator=(), Read(), TPZBndCond::TPZBndCond(), and Write().

◆ fBCVal2

TPZFNMatrix<6,STATE> TPZBndCond::TPZ_BCDefine::fBCVal2

second value of boundary condition

Definition at line 39 of file pzbndcond.h.

Referenced by TPZBndCond::InterfaceJump(), operator=(), Read(), TPZBndCond::Read(), TPZBndCond::UpdateBCValues(), TPZBndCond::Val2(), Write(), and TPZBndCond::Write().

◆ fForcingFunction

TPZAutoPointer<TPZFunction<STATE> > TPZBndCond::TPZ_BCDefine::fForcingFunction

Pointer to forcing function, it is the right member at differential equation.

Definition at line 42 of file pzbndcond.h.

Referenced by TPZBndCond::InterfaceJump(), operator=(), Read(), TPZBndCond::TPZBndCond(), TPZBndCond::UpdateBCValues(), and Write().

◆ fForcingFunctionExact

TPZAutoPointer<TPZFunction<STATE> > TPZBndCond::TPZ_BCDefine::fForcingFunctionExact

Pointer to exact solution function, needed to calculate exact error.

Definition at line 45 of file pzbndcond.h.

Referenced by operator=(), Read(), TPZBndCond::TPZBndCond(), and Write().

◆ fTimedependentBCForcingFunction

TPZAutoPointer<TPZFunction<STATE> > TPZBndCond::TPZ_BCDefine::fTimedependentBCForcingFunction

Pointer to time dependent bc forcing function, it is a variable boundary condition at differential equation.

Definition at line 57 of file pzbndcond.h.

Referenced by TPZBndCond::GetTimedependentBCForcingFunction(), operator=(), Read(), TPZBndCond::TPZBndCond(), and Write().

◆ fTimeDependentForcingFunction

TPZAutoPointer<TPZFunction<STATE> > TPZBndCond::TPZ_BCDefine::fTimeDependentForcingFunction

Pointer to time dependent forcing function, it is the right member at differential equation.

Definition at line 48 of file pzbndcond.h.

Referenced by operator=(), Read(), TPZBndCond::TPZBndCond(), and Write().

◆ fTimedependentFunctionExact

TPZAutoPointer<TPZFunction<STATE> > TPZBndCond::TPZ_BCDefine::fTimedependentFunctionExact

Pointer to time dependent exact solution function, needed to calculate exact error.

Definition at line 51 of file pzbndcond.h.

Referenced by operator=(), Read(), TPZBndCond::TPZBndCond(), and Write().


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