![]() |
NeoPZ
|
#include <pzgradient.h>
Public Member Functions | |
| TPZGradient () | |
| TPZGradient (const TPZGradient &cp) | |
| ~TPZGradient () | |
| TPZGradient & | operator= (const TPZGradient ©) |
| void | SetData (TPZManVector< REAL, 3 > ¢er, TPZManVector< STATE, 3 > &grad, STATE u0, STATE alphak) |
| virtual void | Execute (const TPZVec< REAL > &pt, TPZVec< STATE > &f) |
| Simpler version of Execute method which does not compute function derivatives. More... | |
| virtual void | Execute (const TPZVec< REAL > &x, REAL ftime, 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 void | Execute (const TPZVec< REAL > &x, TPZVec< STATE > &f, TPZFMatrix< STATE > &df) |
| Performs function computation. More... | |
| virtual int | NFunctions () const |
| Returns number of functions. 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 | 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 | |
| TPZManVector< REAL, 3 > | fCenter |
| TPZManVector< STATE, 3 > | fGradient |
| STATE | fUc |
| STATE | falphaK |
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 TPZSavable * | CreateInstance (const int &classId) |
Definition at line 14 of file pzgradient.h.
| TPZGradient::TPZGradient | ( | ) |
Definition at line 15 of file pzgradient.cpp.
References falphaK, fCenter, fGradient, fUc, and TPZManVector< T, NumExtAlloc >::Resize().
| TPZGradient::TPZGradient | ( | const TPZGradient & | cp | ) |
Definition at line 23 of file pzgradient.cpp.
|
inline |
Definition at line 33 of file pzgradient.h.
Simpler version of Execute method which does not compute function derivatives.
Reimplemented from TPZFunction< STATE >.
Definition at line 64 of file pzgradient.h.
References fUc, and TPZVec< T >::size().
|
inlinevirtual |
Performs time dependent function computation.
| x | point coordinate which is suppose to be in real coordinate system but can be in master coordinate system in derived classes. |
| ftime | time to evaluate |
| f | function values |
| gradf | function derivatives |
Reimplemented from TPZFunction< STATE >.
Definition at line 75 of file pzgradient.h.
References DebugStop.
|
inlinevirtual |
Execute method receiving axes. It is used in shape functions.
Reimplemented from TPZFunction< STATE >.
Definition at line 80 of file pzgradient.h.
References DebugStop.
|
inlinevirtual |
Performs function computation.
| x | point coordinate which is suppose to be in real coordinate system but can be in master coordinate system in derived classes. |
| f | function values |
| df | function derivatives |
Reimplemented from TPZFunction< STATE >.
Definition at line 90 of file pzgradient.h.
References DebugStop.
|
inlinevirtual |
Returns number of functions.
Reimplemented from TPZFunction< STATE >.
Definition at line 96 of file pzgradient.h.
|
inline |
|
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 100 of file pzgradient.h.
|
inline |
Definition at line 51 of file pzgradient.h.
Referenced by TPZGradientReconstruction::ProjectionL2GradientReconstructed().
|
private |
Definition at line 26 of file pzgradient.h.
Referenced by operator=(), and TPZGradient().
|
private |
Definition at line 17 of file pzgradient.h.
Referenced by operator=(), and TPZGradient().
|
private |
Definition at line 20 of file pzgradient.h.
Referenced by operator=(), and TPZGradient().
|
private |
Definition at line 23 of file pzgradient.h.
Referenced by Execute(), operator=(), and TPZGradient().
1.8.13