NeoPZ
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members

Represents a set of shape functions associated with a computational element/side. Computational Element. More...

#include <pzconnect.h>

Inheritance diagram for TPZConnect:
[legend]
Collaboration diagram for TPZConnect:
[legend]

Classes

class  TPZDepend
 Structure to reference dependency. More...
 

Public Types

enum  EConnectType { ENone, EPressure, ECondensed }
 

Public Member Functions

 TPZConnect ()
 Default constructor. More...
 
 TPZConnect (const TPZConnect &copy)
 copy constructor More...
 
 ~TPZConnect ()
 Default destructor. More...
 
TPZConnectoperator= (const TPZConnect &con)
 
virtual int ClassId () const override
 Define the class id associated with the class. More...
 
void Reset ()
 Reset the data of the connect. More...
 
int NDof (TPZCompMesh &mesh)
 Number of degrees of freedom associated with the object. More...
 
int NDof () const
 Number of degrees of freedom associated with the object. More...
 
unsigned char NState () const
 Number of state variables associated with the connect. More...
 
unsigned int NShape () const
 
int64_t SequenceNumber () const
 Returns the Sequence number of the connect object. More...
 
void SetSequenceNumber (int64_t i)
 Set the sequence number for the global system of equations of the connect object. More...
 
void SetOrder (int order, int64_t index)
 Set the order of the shapefunction associated with the connect. More...
 
void SetNState (int nstate)
 Set the number of state variables. More...
 
void SetNShape (int nshape)
 Set the number of shape functions associated with the connect. More...
 
unsigned char Order () const
 Access function to return the order associated with the connect. More...
 
bool IsCondensed () const
 Access method to return the indication whether the connect is condensed or not. More...
 
unsigned char LagrangeMultiplier () const
 Access method to return the indication whether the connect is associated with a pressure lagrange multiplier. More...
 
void SetLagrangeMultiplier (unsigned char mult)
 Set the connect as a pressure connect or not. More...
 
void SetCondensed (bool flag)
 Set the connect as a condensed connect or not. More...
 
void Print (const TPZCompMesh &mesh, std::ostream &out=std::cout)
 Print the information for the connect element. More...
 
void Print (TPZCompMesh &mesh, TPZVec< REAL > &cp, std::ostream &out=std::cout)
 Also print the center point of the side associated to the connect. More...
 
void ResetElConnected ()
 Initialize with zero fNElConnected. More...
 
void IncrementElConnected ()
 Increment fNElConnected. More...
 
void DecrementElConnected ()
 Decrement fNElConnected. More...
 
int NElConnected () const
 Returns fNElConnected. More...
 
TPZDependAddDependency (int64_t myindex, int64_t dependindex, TPZFMatrix< REAL > &depmat, int64_t ipos, int64_t jpos, int isize, int jsize)
 Add dependency between connects. More...
 
void RemoveDepend (int64_t myindex, int64_t dependindex)
 Remove dependency between connects if exist. More...
 
void RemoveDepend ()
 Deletes all dependency information. More...
 
int DependencyDepth (TPZCompMesh &mesh)
 the maximum number of recursive dependencies More...
 
int NumDepend () const
 size of the dependency list More...
 
int HasDependency () const
 Returns whether exist dependecy information. More...
 
int CheckDependency (int nshape, TPZCompMesh *mesh, int nstate)
 
TPZDependFirstDepend ()
 
void AddToList (int64_t myindex, TPZCompMesh &mesh, TPZStack< int64_t > &connectlist)
 Adds itself and the connects from which it depends to the list. More...
 
void AddToList (int64_t myindex, TPZCompMesh &mesh, std::set< int64_t > &connectlist)
 Adds itself and the connects from which it depends to the list. More...
 
void SetDependenceOrder (int64_t myindex, TPZCompMesh &mesh, int CurrentOrder, TPZVec< int64_t > &connectlist, TPZVec< int > &DependenceOrder)
 
void ExpandShape (int64_t cind, TPZVec< int64_t > &connectlist, TPZVec< int > &blocksize, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi)
 
void Write (TPZStream &buf, int withclassid) const override
 Saves the element data to a stream. More...
 
void Read (TPZStream &buf, void *context) override
 Reads the element data from a stream. More...
 
void CopyFrom (TPZConnect &orig, std::map< int64_t, int64_t > &gl2lcIdx)
 Copy a connect data structure from an original connect to a new connect mapping their indexes. More...
 
void BuildConnectList (int64_t index, std::set< int64_t > &indepconnectlist, std::set< int64_t > &depconnectlist, TPZCompMesh &mesh)
 Builds the list of all connectivities related to ConnectIndex including the connects pointed to by dependent connects. 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
 

Static Public Member Functions

static void BuildConnectList (TPZStack< int64_t > &connectlist, TPZVec< int64_t > &ConnectIndex, TPZCompMesh &mesh)
 Builds the list of all connectivities related to ConnectIndex including the connects pointed to by dependent connects. More...
 
static void BuildConnectList (std::set< int64_t > &connectlist, std::set< int64_t > &additional, TPZCompMesh &mesh)
 Builds the list of all connectivities related to ConnectIndex including the connects pointed to by dependent connects. More...
 
static void BuildDependencyOrder (TPZVec< int64_t > &connectlist, TPZVec< int > &DependenceOrder, TPZCompMesh &mesh)
 This method builds the vector DependenceOrder which indicates in which order constrained nodes need to be processed. More...
 
- 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)
 

Public Attributes

int64_t fSequenceNumber
 Node block number. More...
 
int fNElConnected
 Number of element connected. More...
 
union {
   unsigned int   fFlags
 
   struct {
      unsigned char   fOrder
 Interpolation order of the associated shape functions. More...
 
      unsigned char   fNState
 Number of state variables associated with each shape function. More...
 
      unsigned char   fLagrangeMultiplier
 Whether the connnect is associated with a lagrange multiplier, indicating the level level n multipliers need to be numbered after the multipliers of level n-1. More...
 
      bool   fIsCondensed
 Whether the equations associated with the connect should be/are condensed. More...
 
   }   fCompose
 
}; 
 Flag to signal the type of connect ECondensed : the connect will be condensed before assembly EPressure : a pressure connect which should be assembled after the flux connects. More...
 
unsigned int fNShape
 Number of shape functions associated with the connect. More...
 

Private Attributes

TPZDependfDependList
 Dependency list of the connect (NULL if the connect is not constrained) More...
 

Detailed Description

Represents a set of shape functions associated with a computational element/side. Computational Element.

This class keeps track of information associated with an element/side such as order of interpolation sequence number in the vector of blocks of equations
Objects of this class also contain the information necessary for constraints between shapefunctions

Definition at line 30 of file pzconnect.h.

Member Enumeration Documentation

◆ EConnectType

Enumerator
ENone 
EPressure 
ECondensed 

Definition at line 32 of file pzconnect.h.

Constructor & Destructor Documentation

◆ TPZConnect() [1/2]

TPZConnect::TPZConnect ( )

Default constructor.

Definition at line 21 of file pzconnect.cpp.

References Reset().

◆ TPZConnect() [2/2]

TPZConnect::TPZConnect ( const TPZConnect copy)

copy constructor

Definition at line 41 of file pzconnect.cpp.

References fDependList, fFlags, fNElConnected, fNShape, and fSequenceNumber.

◆ ~TPZConnect()

TPZConnect::~TPZConnect ( )

Member Function Documentation

◆ AddDependency()

TPZConnect::TPZDepend * TPZConnect::AddDependency ( int64_t  myindex,
int64_t  dependindex,
TPZFMatrix< REAL > &  depmat,
int64_t  ipos,
int64_t  jpos,
int  isize,
int  jsize 
)

Add dependency between connects.

Parameters
myindex[in] index of this connect
dependindex[in] index of the connect this will depend upon
depmat[in] dependency matrix which defines the relation between the connects
ipos,jpos,isize,jsizeare parameters which define the submatrix within depmat which is to be used

Definition at line 130 of file pzconnect.cpp.

References TPZMatrix< TVar >::Cols(), DebugStop, fDependList, TPZConnect::TPZDepend::fDepMatrix, TPZConnect::TPZDepend::fNext, TPZConnect::TPZDepend::HasDepend(), Norm(), TPZMatrix< TVar >::Rows(), and val().

Referenced by TPZCreateApproximationSpace::MakeRaviartThomas(), NElConnected(), and TPZInterpolatedElement::RestrainSide().

◆ AddToList() [1/2]

void TPZConnect::AddToList ( int64_t  myindex,
TPZCompMesh mesh,
TPZStack< int64_t > &  connectlist 
)

Adds itself and the connects from which it depends to the list.

Adds itself and the connects from which it depends to the list this method will add a pointer to the current connect to connectlist if it is not already there, extending the list is necessary this method will also call AddToList for all connects from which this connect depends firstfree points to the first unused element of connectlist it is assumed that firstfree <= nodelist.capacity()

Definition at line 221 of file pzconnect.cpp.

References AddToList(), TPZCompMesh::ConnectVec(), TPZConnect::TPZDepend::fDepConnectIndex, fDependList, TPZConnect::TPZDepend::fNext, TPZVec< T >::NElements(), and TPZStack< T, NumExtAlloc >::Push().

Referenced by AddToList(), BuildConnectList(), and FirstDepend().

◆ AddToList() [2/2]

void TPZConnect::AddToList ( int64_t  myindex,
TPZCompMesh mesh,
std::set< int64_t > &  connectlist 
)

Adds itself and the connects from which it depends to the list.

Definition at line 234 of file pzconnect.cpp.

References AddToList(), TPZCompMesh::ConnectVec(), TPZConnect::TPZDepend::fDepConnectIndex, fDependList, and TPZConnect::TPZDepend::fNext.

◆ BuildConnectList() [1/3]

void TPZConnect::BuildConnectList ( int64_t  index,
std::set< int64_t > &  indepconnectlist,
std::set< int64_t > &  depconnectlist,
TPZCompMesh mesh 
)

Builds the list of all connectivities related to ConnectIndex including the connects pointed to by dependent connects.

Note
Note : this method does not reset the stack to zero. The calling method should do this
Parameters
index[in] index of the current connect
indepconnectlist[out] set which contains the indices of independent connects
depconnectlist[out] set which contains the indices of dependent connects
mesh[in]

Definition at line 509 of file pzconnect.cpp.

References BuildConnectList(), TPZCompMesh::ConnectVec(), TPZConnect::TPZDepend::fDepConnectIndex, fDependList, TPZConnect::TPZDepend::fNext, and IsCondensed().

Referenced by TPZElementMatrix::ApplyConstraints(), BuildConnectList(), TPZCompEl::BuildConnectList(), and FirstDepend().

◆ BuildConnectList() [2/3]

void TPZConnect::BuildConnectList ( TPZStack< int64_t > &  connectlist,
TPZVec< int64_t > &  ConnectIndex,
TPZCompMesh mesh 
)
static

Builds the list of all connectivities related to ConnectIndex including the connects pointed to by dependent connects.

Note
Note : this method does not reset the stack to zero. The calling method should do this
Parameters
connectlist[out] stack to receive the list
ConnectIndex[in]
mesh[in]

Definition at line 531 of file pzconnect.cpp.

References AddToList(), TPZCompMesh::ConnectVec(), and TPZVec< T >::NElements().

◆ BuildConnectList() [3/3]

void TPZConnect::BuildConnectList ( std::set< int64_t > &  connectlist,
std::set< int64_t > &  additional,
TPZCompMesh mesh 
)
static

Builds the list of all connectivities related to ConnectIndex including the connects pointed to by dependent connects.

Note
Note : this method does not reset the set to zero. The calling method should do this
Parameters
connectlist[out] set to receive the list
additional[in] connects which should be added along with their dependencies
mesh[in]

Definition at line 543 of file pzconnect.cpp.

References AddToList(), and TPZCompMesh::ConnectVec().

◆ BuildDependencyOrder()

void TPZConnect::BuildDependencyOrder ( TPZVec< int64_t > &  connectlist,
TPZVec< int > &  DependenceOrder,
TPZCompMesh mesh 
)
static

This method builds the vector DependenceOrder which indicates in which order constrained nodes need to be processed.

connectlist need to be computed by BuildConnectList

Definition at line 556 of file pzconnect.cpp.

References TPZCompMesh::ConnectVec(), TPZVec< T >::Fill(), HasDependency(), TPZVec< T >::NElements(), TPZVec< T >::Resize(), and SetDependenceOrder().

Referenced by TPZInterpolationSpace::BuildTransferMatrix(), TPZInterpolatedElement::BuildTransferMatrix(), FirstDepend(), and TPZCompEl::LoadSolution().

◆ CheckDependency()

int TPZConnect::CheckDependency ( int  nshape,
TPZCompMesh mesh,
int  nstate 
)

◆ ClassId()

virtual int TPZConnect::ClassId ( ) const
inlineoverridevirtual

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 108 of file pzconnect.h.

References Hash().

◆ CopyFrom()

void TPZConnect::CopyFrom ( TPZConnect orig,
std::map< int64_t, int64_t > &  gl2lcIdx 
)

Copy a connect data structure from an original connect to a new connect mapping their indexes.

Parameters
origoriginal connect to be copied
gl2lcIdxglobal to local indexes map

Definition at line 448 of file pzconnect.cpp.

References TPZConnect::TPZDepend::CopyFrom(), TPZConnect::TPZDepend::fDepConnectIndex, fDependList, fFlags, fNElConnected, TPZConnect::TPZDepend::fNext, fNShape, fSequenceNumber, and TPZConnect::TPZDepend::TPZDepend().

◆ DecrementElConnected()

void TPZConnect::DecrementElConnected ( )
inline

◆ DependencyDepth()

int TPZConnect::DependencyDepth ( TPZCompMesh mesh)

the maximum number of recursive dependencies

Definition at line 184 of file pzconnect.cpp.

References TPZCompMesh::ConnectVec(), DependencyDepth(), TPZConnect::TPZDepend::fDepConnectIndex, fDependList, and TPZConnect::TPZDepend::fNext.

Referenced by DependencyDepth(), and NElConnected().

◆ ExpandShape()

void TPZConnect::ExpandShape ( int64_t  cind,
TPZVec< int64_t > &  connectlist,
TPZVec< int > &  blocksize,
TPZFMatrix< REAL > &  phi,
TPZFMatrix< REAL > &  dphi 
)

◆ FirstDepend()

TPZDepend* TPZConnect::FirstDepend ( )
inline

◆ HasDependency()

int TPZConnect::HasDependency ( ) const
inline

Returns whether exist dependecy information.

Definition at line 292 of file pzconnect.h.

References CheckDependency().

Referenced by TPZBuildMultiphysicsMesh::AddConnects(), TPZMultiphysicsCompMesh::AddConnects(), TPZBuildMultiphysicsMesh::AddWrap(), TPZBuildMultiphysicsMesh::AppendConnects(), TPZCompMesh::BandWidth(), TPZBlockDiagonalStructMatrix::BlockSizes(), TPZCompEl::BuildConnectList(), TPZCondensedCompEl::BuildCornerConnectList(), TPZElementMatrix::BuildDependencyOrder(), BuildDependencyOrder(), TPZInterpolationSpace::BuildTransferMatrix(), TPZInterpolatedElement::BuildTransferMatrix(), TPZCompEl::CalcBlockDiagonal(), TPZSubCompMesh::CalcStiff(), TPZCheckMesh::CheckConnectSeqNumberConsistency(), TPZInterpolatedElement::CheckConstraintConsistency(), TPZCheckMesh::CheckConstraintDimension(), CheckDependency(), TPZCompMesh::CleanUpUnconnectedNodes(), TPZElementMatrix::ComputeDestinationIndices(), TPZCompMesh::ComputeElGraph(), TPZCompMesh::ComputeFillIn(), TPZGenSubStruct::ComputeInternalEquationPermutation(), TPZDohrStructMatrix::ComputeInternalEquationPermutation(), TPZCompMeshTools::CreatedCondensedElements(), TPZInterpolatedElement::CreateMidSideConnect(), TPZMHMixedMeshControl::CreateSkeleton(), GatherDependency(), TPZFrontStructMatrix< front >::GetNumElConnected(), TPZCompEl::LoadSolution(), TPZParSkylineStructMatrix::main(), TPBSpStructMatrix::main(), TPZFrontStructMatrix< front >::main(), TPZParFrontStructMatrix< front >::main(), TPZCreateApproximationSpace::MakeRaviartThomas(), TPZCompEl::NEquations(), TPZCompMesh::NEquations(), TPZCompMesh::NIndependentConnects(), TPZSubCompMesh::NumInternalEquations(), operator<<(), TPZSubCompMesh::PermuteExternalConnects(), TPZAnalysis::PrintVectorByElement(), TPZInterpolatedElement::RemoveSideRestraintWithRespectTo(), TPZCondensedCompEl::Resequence(), TPZInterpolatedElement::RestrainSide(), TPZHybridizeHDiv::RightElement(), TPZCompMesh::SaddlePermute(), TPZCompMesh::Skyline(), TPZHybridizeHDiv::SplitConnects(), TPZCreateApproximationSpace::UndoMakeRaviartThomas(), TPZCheckMesh::VerifyCompatibilityBetweenNShapesAndBlockSize(), TPZCheckMesh::VerifyConnect(), and TPZMHMixedMeshControl::~TPZMHMixedMeshControl().

◆ IncrementElConnected()

void TPZConnect::IncrementElConnected ( )
inline

◆ IsCondensed()

bool TPZConnect::IsCondensed ( ) const
inline

◆ LagrangeMultiplier()

unsigned char TPZConnect::LagrangeMultiplier ( ) const
inline

◆ NDof() [1/2]

int TPZConnect::NDof ( TPZCompMesh mesh)

◆ NDof() [2/2]

int TPZConnect::NDof ( ) const
inline

Number of degrees of freedom associated with the object.

Note
In order to compute NDof, the Connect object needs to know the mesh

Definition at line 138 of file pzconnect.h.

References fCompose.

Referenced by Reset().

◆ NElConnected()

int TPZConnect::NElConnected ( ) const
inline

◆ NShape()

unsigned int TPZConnect::NShape ( ) const
inline

Definition at line 151 of file pzconnect.h.

References fNShape.

Referenced by TPZBuildMultiphysicsMesh::AddConnects(), TPZMultiphysicsCompMesh::AddConnects(), TPZInterpolatedElement::AdjustPreferredSideOrder(), TPZCompMesh::AllocateNewConnect(), TPZSubCompMesh::AllocateNewConnect(), TPZBuildMultiphysicsMesh::AppendConnects(), TPZElementMatrix::ApplyConstraints(), TPZPostProcAnalysis::AutoBuildDisc(), TPZInterpolationSpace::BuildTransferMatrix(), TPZInterpolatedElement::BuildTransferMatrix(), TPZInterpolatedElement::CalcIntegral(), TPZSBFemElementGroup::CalcStiff(), TPZCompElLagrange::CalcStiff(), Hdiv2dPaper201504::ChangeExternalOrderConnects(), hdivCurvedJCompAppMath::ChangeExternalOrderConnects(), Hdiv3dPaper201504::ChangeExternalOrderConnects(), TPZInterpolatedElement::CheckElementConsistency(), TPZCheckMesh::CheckElementShapeDimension(), TPZInterpolatedElement::CompareShapeF(), TPZMHMeshControl::CreateLagrangeMultiplierMesh(), TPZInterfaceElement::InitializeElementMatrix(), TPZReducedSpace::InitializeElementMatrix(), TPZMultiphysicsInterfaceElement::InitializeElementMatrix(), TPZInterpolationSpace::InitializeElementMatrix(), TPZCompElLagrange::InitializeElementMatrix(), TPZElementGroup::InitializeElementMatrix(), TPZMultiphysicsCompEl< TGeometry >::InitializeElementMatrix(), TPZCondensedCompEl::LoadSolution(), TPZSBFemElementGroup::LoadSolution(), TPZReducedSpace::NConnectShapeF(), TPZSBFemVolume::NConnectShapeF(), TPZCompMesh::NEquations(), TPZReducedSpace::NShapeF(), TPZSBFemVolume::NShapeF(), TPZSubCompMesh::NumInternalEquations(), TPZInterpolatedElement::Print(), TPZInterpolatedElement::RestrainSide(), TPZSBFemVolume::SetElementGroupIndex(), TPZMHMixedHybridMeshControl::SplitFluxElementsAroundFractures(), TPZCompElLagrange::TPZCompElLagrange(), TPZCheckMesh::VerifyCompatibilityBetweenNShapesAndBlockSize(), TPZCheckMesh::VerifyConnect(), and TPZInterpolatedElement::VerifyConstraintConsistency().

◆ NState()

unsigned char TPZConnect::NState ( ) const
inline

◆ NumDepend()

int TPZConnect::NumDepend ( ) const

size of the dependency list

Definition at line 201 of file pzconnect.cpp.

References fDependList, and TPZConnect::TPZDepend::fNext.

Referenced by NElConnected(), and TPZInterpolatedElement::VerifyConstraintConsistency().

◆ operator=()

TPZConnect & TPZConnect::operator= ( const TPZConnect con)

◆ Order()

unsigned char TPZConnect::Order ( ) const
inline

Access function to return the order associated with the connect.

Definition at line 217 of file pzconnect.h.

References fCompose.

Referenced by TPZBuildMultiphysicsMesh::AddWrap(), TPZCompMeshTools::AdjustFluxPolynomialOrders(), TPZInterpolatedElement::AdjustPreferredSideOrder(), TPZInterpolationSpace::BuildTransferMatrix(), TPZInterpolatedElement::BuildTransferMatrix(), TPZInterpolatedElement::CalcIntegral(), Hdiv2dPaper201504::ChangeExternalOrderConnects(), hdivCurvedJCompAppMath::ChangeExternalOrderConnects(), Hdiv3dPaper201504::ChangeExternalOrderConnects(), TPZCheckMesh::CheckConnectOrderConsistency(), TPZCheckMesh::CheckElementShapeDimension(), TPZCompElHDiv< TSHAPE >::ComputeShapeIndex(), TPZCompElHDivBound2< TSHAPE >::ConnectOrder(), TPZIntelGen< TSHAPE >::ConnectOrder(), TPZCompElHDivPressureBound< TSHAPE >::ConnectOrder(), TPZCompElHDiv< TSHAPE >::ConnectOrder(), TPZMHMixedHybridMeshControl::CreateHDivWrappers(), TPZInterpolatedElement::CreateMidSideConnect(), TPZMHMixedHybridMeshControl::CreatePressureInterfaces(), TPZCompElDisc::Degree(), TPZIntelGen< TSHAPE >::EffectiveSideOrder(), TPZCompElHDiv< TSHAPE >::FillOrder(), TPZInterpolatedElement::ForceSideOrder(), TPZIntelGen< TSHAPE >::GetInterpolationOrder(), TPZInterpolatedElement::IdentifySideOrder(), TPZCompElHDiv< TSHAPE >::IndexShapeToVec2(), TPZInterfaceElement::InitializeElementMatrix(), TPZInterpolationSpace::InitializeElementMatrix(), TPZCompElHDiv< TSHAPE >::InitMaterialData(), TPZInterpolationSpace::MaxOrder(), TPZCompElHDiv< TSHAPE >::NConnectShapeF(), TPZCompElHDiv< TSHAPE >::NFluxShapeF(), TPZInterpolatedElement::NShapeF(), TPZInterpolatedElement::NSideShapeF(), operator<<(), TPZCompElHDiv< TSHAPE >::PRefine(), TPZInterpolatedElement::PRefine(), TPZInterpolatedElement::Print(), TPZVTKGeoMesh::PrintPOrderPoints(), TPZInterpolatedElement::RestrainSide(), TPZCompMeshTools::SetPressureOrders(), TPZIntelGen< TSHAPE >::SetSideOrder(), TPZIntelGen< TSHAPE >::Shape(), TPZCompElHDivBound2< TSHAPE >::Shape(), TPZIntelGen< TSHAPE >::SideShapeFunction(), TPZCompElHDivBound2< TSHAPE >::SideShapeFunction(), TPZCompElHDiv< TSHAPE >::SideShapeFunction(), TPZHybridizeHDiv::SplitConnects(), TPZMHMixedHybridMeshControl::SplitFluxElementsAroundFractures(), TPZCheckRestraint::TPZCheckRestraint(), TPZInterpolatedElement::UpdateNeighbourSideOrder(), and TPZInterpolatedElement::VerifyConstraintConsistency().

◆ Print() [1/2]

void TPZConnect::Print ( const TPZCompMesh mesh,
std::ostream &  out = std::cout 
)

◆ Print() [2/2]

void TPZConnect::Print ( TPZCompMesh mesh,
TPZVec< REAL > &  cp,
std::ostream &  out = std::cout 
)

◆ Read()

void TPZConnect::Read ( TPZStream buf,
void *  context 
)
overridevirtual

Reads the element data from a stream.

Read the element data from a stream

Reimplemented from TPZSavable.

Definition at line 436 of file pzconnect.cpp.

References fCompose, fDependList, fFlags, fNElConnected, fNShape, fSequenceNumber, TPZPersistenceManager::GetInstance(), and TPZStream::Read().

◆ RemoveDepend() [1/2]

void TPZConnect::RemoveDepend ( int64_t  myindex,
int64_t  dependindex 
)

◆ RemoveDepend() [2/2]

void TPZConnect::RemoveDepend ( )

Deletes all dependency information.

Definition at line 170 of file pzconnect.cpp.

References fDependList.

◆ Reset()

void TPZConnect::Reset ( )
inline

◆ ResetElConnected()

void TPZConnect::ResetElConnected ( )
inline

Initialize with zero fNElConnected.

Definition at line 258 of file pzconnect.h.

Referenced by TPZCompMesh::ComputeNodElCon(), Reset(), and TPZHybridizeHDiv::SplitConnects().

◆ SequenceNumber()

int64_t TPZConnect::SequenceNumber ( ) const
inline

Returns the Sequence number of the connect object.

If the $ sequence number == -1 $ this means that the node is unused

Definition at line 158 of file pzconnect.h.

References fSequenceNumber.

Referenced by TPZBuildMultiphysicsMesh::AddConnects(), TPZMultiphysicsCompMesh::AddConnects(), TPZInterpolatedElement::AdjustPreferredSideOrder(), TPZFrontStructMatrix< front >::AdjustSequenceNumbering(), TPZBuildMultiphysicsMesh::AppendConnects(), TPZBlockDiagonalStructMatrix::AssembleBlockDiagonal(), TPZPostProcAnalysis::AutoBuildDisc(), TPZCompMesh::BandWidth(), TPZBlockDiagonalStructMatrix::BlockSizes(), TPZInterpolationSpace::BuildTransferMatrix(), TPZInterpolatedElement::BuildTransferMatrix(), TPZCompElDisc::BuildTransferMatrix(), TPZInterpolatedElement::CalcIntegral(), TPZAgglomerateElement::CalcStiff(), TPZCompElLagrange::CalcStiff(), TPZSubCompMesh::CalcStiff(), Hdiv2dPaper201504::ChangeExternalOrderConnects(), hdivCurvedJCompAppMath::ChangeExternalOrderConnects(), Hdiv3dPaper201504::ChangeExternalOrderConnects(), TPZCheckMesh::CheckConnectSeqNumberConsistency(), TPZCheckMesh::CheckConstraintDimension(), TPZCompMesh::CleanUpUnconnectedNodes(), TPZElementMatrix::ComputeDestinationIndices(), TPZCompMesh::ComputeElGraph(), TPZCompMesh::ComputeFillIn(), TPZCompMesh::ComputeNodElCon(), TPZReducedSpace::ComputeSolution(), TPZInterpolatedElement::ComputeSolution(), TPZCompElDisc::ComputeSolution(), TPZCompElHDiv< TSHAPE >::ComputeSolutionHDiv(), TPZCompElHDivPressure< TSHAPE >::ComputeSolutionPressureHDiv(), TPZCompMesh::ConnectSolution(), TPZCompElDisc::CreateMidSideConnect(), TPZAgglomerateElement::CreateMidSideConnect(), TPZInterpolatedElement::CreateMidSideConnect(), TPZMGAnalysis::ElementError(), TPZFrontStructMatrix< front >::GetNumElConnected(), TPZDohrStructMatrix::IdentifyCornerNodes(), TPZElastoPlasticAnalysis::IdentifyEquationsToZero(), TPZSubCompMesh::InitializeEF(), TPZInterfaceElement::InitializeElementMatrix(), TPZInterpolationSpace::InterpolateSolution(), TCedricTest::InterpolationError(), TCedricTest::LoadInterpolation(), TPZCompMeshTools::LoadSolution(), TPZCondensedCompEl::LoadSolution(), TPZSBFemElementGroup::LoadSolution(), TPZCompEl::LoadSolution(), TPZSubCompMesh::LoadSolution(), TPZMultiphysicsCompMesh::LoadSolutionFromMeshes(), TPZMultiphysicsCompMesh::LoadSolutionFromMultiPhysics(), TPZParSkylineStructMatrix::main(), TPBSpStructMatrix::main(), TPZFrontStructMatrix< front >::main(), TPZParFrontStructMatrix< front >::main(), TPZAnalysisError::MathematicaPlot(), TPZCompEl::NEquations(), TPZCompMesh::NEquations(), TPZCompMesh::NIndependentConnects(), TPZSubCompMesh::NumInternalEquations(), operator<<(), TPZCompMesh::Permute(), TPZSubCompMesh::PermuteExternalConnects(), TPZAnalysis::Print(), TPZAgglomerateElement::ProjectSolution(), ResequenceByGeometry(), TPZCompMesh::SaddlePermute(), TPZCompMesh::SaddlePermute2(), TPZCompElDisc::SetDegree(), TPZCompElDisc::SetExternalShapeFunction(), TPZIntelGen< TSHAPE >::SetSideOrder(), TPZCompMesh::Skyline(), TPZCompElDisc::SolutionX(), TPZCompElHDivPressure< TSHAPE >::TPZCompElHDivPressure(), TPZCompElHDivPressureBound< TSHAPE >::TPZCompElHDivPressureBound(), TPZGraphEl::TPZGraphEl(), TPZGraphNode::TPZGraphNode(), TPZBuildMultiphysicsMesh::TransferFromMeshes(), TPZBuildMultiphysicsMesh::TransferFromMultiPhysics(), TPZMultiphysicsElement::TransferMultiphysicsElementSolution(), and TPZCheckMesh::VerifyCompatibilityBetweenNShapesAndBlockSize().

◆ SetCondensed()

void TPZConnect::SetCondensed ( bool  flag)
inline

Set the connect as a condensed connect or not.

Definition at line 242 of file pzconnect.h.

References fCompose, and Print().

Referenced by operator=(), TPZCondensedCompEl::Resequence(), Reset(), and TPZCondensedCompEl::Unwrap().

◆ SetDependenceOrder()

void TPZConnect::SetDependenceOrder ( int64_t  myindex,
TPZCompMesh mesh,
int  CurrentOrder,
TPZVec< int64_t > &  connectlist,
TPZVec< int > &  DependenceOrder 
)

◆ SetLagrangeMultiplier()

void TPZConnect::SetLagrangeMultiplier ( unsigned char  mult)
inline

◆ SetNShape()

void TPZConnect::SetNShape ( int  nshape)
inline

◆ SetNState()

void TPZConnect::SetNState ( int  nstate)
inline

◆ SetOrder()

void TPZConnect::SetOrder ( int  order,
int64_t  index 
)
inline

◆ SetSequenceNumber()

void TPZConnect::SetSequenceNumber ( int64_t  i)
inline

Set the sequence number for the global system of equations of the connect object.

If the argument $i==-1$ this means that the node is out of use

Definition at line 165 of file pzconnect.h.

Referenced by TPZCompMesh::AllocateNewConnect(), TPZCompMesh::Permute(), Reset(), and TPZHybridizeHDiv::SplitConnects().

◆ Write()

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

Saves the element data to a stream.

Save the element data to a stream

Reimplemented from TPZSavable.

Definition at line 423 of file pzconnect.cpp.

References fCompose, fDependList, fFlags, fNElConnected, fNShape, fSequenceNumber, TPZStream::Write(), and TPZPersistenceManager::WritePointer().

Member Data Documentation

◆ @48

union { ... }

Flag to signal the type of connect ECondensed : the connect will be condensed before assembly EPressure : a pressure connect which should be assembled after the flux connects.

◆ fCompose

struct { ... } TPZConnect::fCompose

◆ fDependList

TPZDepend* TPZConnect::fDependList
private

Dependency list of the connect (NULL if the connect is not constrained)

Definition at line 95 of file pzconnect.h.

Referenced by AddDependency(), AddToList(), BuildConnectList(), CopyFrom(), DependencyDepth(), ExpandShape(), FirstDepend(), NumDepend(), operator=(), Print(), Read(), RemoveDepend(), Reset(), SetDependenceOrder(), TPZConnect(), Write(), and ~TPZConnect().

◆ fFlags

unsigned int TPZConnect::fFlags

Definition at line 46 of file pzconnect.h.

Referenced by CopyFrom(), operator=(), Read(), TPZConnect(), and Write().

◆ fIsCondensed

bool TPZConnect::fIsCondensed

Whether the equations associated with the connect should be/are condensed.

Definition at line 58 of file pzconnect.h.

◆ fLagrangeMultiplier

unsigned char TPZConnect::fLagrangeMultiplier

Whether the connnect is associated with a lagrange multiplier, indicating the level level n multipliers need to be numbered after the multipliers of level n-1.

Definition at line 56 of file pzconnect.h.

◆ fNElConnected

int TPZConnect::fNElConnected

Number of element connected.

Definition at line 37 of file pzconnect.h.

Referenced by CopyFrom(), NElConnected(), operator=(), Print(), Read(), TPZConnect(), and Write().

◆ fNShape

unsigned int TPZConnect::fNShape

Number of shape functions associated with the connect.

Definition at line 62 of file pzconnect.h.

Referenced by CopyFrom(), NShape(), operator=(), Print(), Read(), TPZConnect(), and Write().

◆ fNState

unsigned char TPZConnect::fNState

Number of state variables associated with each shape function.

Definition at line 52 of file pzconnect.h.

◆ fOrder

unsigned char TPZConnect::fOrder

Interpolation order of the associated shape functions.

Definition at line 50 of file pzconnect.h.

◆ fSequenceNumber

int64_t TPZConnect::fSequenceNumber

Node block number.

Definition at line 34 of file pzconnect.h.

Referenced by CopyFrom(), NDof(), operator=(), Print(), Read(), SequenceNumber(), TPZConnect(), Write(), and ~TPZConnect().


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