NeoPZ
|
#include <pzgradientreconstruction.h>
Classes | |
class | TPZGradientData |
Public Member Functions | |
TPZGradientReconstruction (bool distmesh, REAL paramK) | |
~TPZGradientReconstruction () | |
TPZGradientReconstruction (const TPZGradientReconstruction &cp) | |
TPZGradientReconstruction & | operator= (const TPZGradientReconstruction ©) |
void | ProjectionL2GradientReconstructed (TPZCompMesh *cmesh, int matidl2proj) |
void | ChangeMaterialIdIntoCompElement (TPZCompEl *cel, int oldmatid, int newmatid) |
void | AssembleGlobalMatrix (TPZCompEl *el, TPZElementMatrix &ek, TPZElementMatrix &ef, TPZMatrix< STATE > &stiffmatrix, TPZFMatrix< STATE > &rhs) |
void | GetDataDistortedMesh (bool &useweight, REAL ¶mK) |
void | SetDataGhostsNeighbors (TPZVec< REAL > LxLyLz, TPZVec< int > MatIdBC, TPZManVector< TPZVec< REAL > > coordmin, TPZManVector< TPZVec< REAL > > coordmax) |
Public Attributes | |
TPZGradientData * | fGradData |
Protected Attributes | |
bool | fDistortedMesh |
REAL | fparam |
Definition at line 20 of file pzgradientreconstruction.h.
TPZGradientReconstruction::TPZGradientReconstruction | ( | bool | distmesh, |
REAL | paramK | ||
) |
Definition at line 29 of file pzgradientreconstruction.cpp.
References DebugStop.
TPZGradientReconstruction::~TPZGradientReconstruction | ( | ) |
Definition at line 39 of file pzgradientreconstruction.cpp.
TPZGradientReconstruction::TPZGradientReconstruction | ( | const TPZGradientReconstruction & | cp | ) |
Definition at line 43 of file pzgradientreconstruction.cpp.
References fDistortedMesh, fGradData, and fparam.
void TPZGradientReconstruction::AssembleGlobalMatrix | ( | TPZCompEl * | el, |
TPZElementMatrix & | ek, | ||
TPZElementMatrix & | ef, | ||
TPZMatrix< STATE > & | stiffmatrix, | ||
TPZFMatrix< STATE > & | rhs | ||
) |
Definition at line 170 of file pzgradientreconstruction.cpp.
References TPZFMatrix< TVar >::AddFel(), TPZMatrix< TVar >::AddKel(), TPZElementMatrix::ApplyConstraints(), TPZElementMatrix::ComputeDestinationIndices(), TPZElementMatrix::fConstrMat, TPZElementMatrix::fDestinationIndex, TPZElementMatrix::fMat, TPZElementMatrix::fSourceIndex, and TPZCompEl::HasDependency().
void TPZGradientReconstruction::ChangeMaterialIdIntoCompElement | ( | TPZCompEl * | cel, |
int | oldmatid, | ||
int | newmatid | ||
) |
Definition at line 158 of file pzgradientreconstruction.cpp.
References TPZMaterial::Id(), TPZCompEl::Material(), TPZCompEl::Reference(), and TPZGeoEl::SetMaterialId().
|
inline |
Definition at line 236 of file pzgradientreconstruction.h.
References fDistortedMesh, fparam, and SetDataGhostsNeighbors().
TPZGradientReconstruction & TPZGradientReconstruction::operator= | ( | const TPZGradientReconstruction & | copy | ) |
Definition at line 50 of file pzgradientreconstruction.cpp.
References fDistortedMesh, fGradData, and fparam.
void TPZGradientReconstruction::ProjectionL2GradientReconstructed | ( | TPZCompMesh * | cmesh, |
int | matidl2proj | ||
) |
Definition at line 58 of file pzgradientreconstruction.cpp.
References TPZCompEl::CalcStiff(), TPZSkylineStructMatrix::Create(), DebugStop, TPZCompMesh::Dimension(), TPZCompEl::Dimension(), TPZElementMatrix::EF, TPZElementMatrix::EK, ELDLt, TPZCompMesh::ElementVec(), TPZMaterial::Id(), TPZCompMesh::LoadSolution(), LOGPZ_DEBUG, TPZCompEl::Material(), TPZCompMesh::MaterialVec(), TPZCompEl::Mesh(), TPZCompMesh::NElements(), TPZCompMesh::NEquations(), TPZMaterial::NumLoadCases(), TPZElementMatrix::Print(), TPZFMatrix< TVar >::Redim(), TPZGeoMesh::Reference(), TPZCompMesh::Reference(), TPZGradient::SetData(), TPZStepSolver< TVar >::SetDirect(), TPZMaterial::SetForcingFunction(), TPZMatrixSolver< TVar >::SetMatrix(), and TPZStepSolver< TVar >::Solve().
void TPZGradientReconstruction::SetDataGhostsNeighbors | ( | TPZVec< REAL > | LxLyLz, |
TPZVec< int > | MatIdBC, | ||
TPZManVector< TPZVec< REAL > > | coordmin, | ||
TPZManVector< TPZVec< REAL > > | coordmax | ||
) |
Definition at line 189 of file pzgradientreconstruction.cpp.
References DebugStop, PZError, and TPZVec< T >::size().
Referenced by GetDataDistortedMesh().
|
protected |
fDistortedMesh | Parameter indicates if the mesh is distorted |
Definition at line 255 of file pzgradientreconstruction.h.
Referenced by GetDataDistortedMesh(), operator=(), and TPZGradientReconstruction().
TPZGradientData* TPZGradientReconstruction::fGradData |
Definition at line 250 of file pzgradientreconstruction.h.
Referenced by operator=(), and TPZGradientReconstruction().
|
protected |
fparamK | parameter used in the harmonic mean, equal 1 or 2 |
Definition at line 258 of file pzgradientreconstruction.h.
Referenced by GetDataDistortedMesh(), operator=(), and TPZGradientReconstruction().