109 return Hash(
"TPZConnect");
170 if(order < 0 || order > 255)
198 if(nstate<0 || nstate > 255)
232 return fCompose.fLagrangeMultiplier;
238 fCompose.fLagrangeMultiplier = mult;
280 void RemoveDepend(int64_t myindex, int64_t dependindex);
370 <<
" order: " << con.
Order()
int ClassId() const override
Define the class id associated with the class.
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
unsigned int fNShape
Number of shape functions associated with the connect.
int64_t fSequenceNumber
Node block number.
void IncrementElConnected()
Increment fNElConnected.
Represents a set of shape functions associated with a computational element/side. Computational Eleme...
Contains definitions to LOGPZ_DEBUG, LOGPZ_INFO, LOGPZ_WARN, LOGPZ_ERROR and LOGPZ_FATAL, and the implementation of the inline InitializePZLOG(string) function using log4cxx library or not. It must to be called out of "#ifdef LOG4CXX" scope.
void DecrementElConnected()
Decrement fNElConnected.
void SetOrder(int order, int64_t index)
Set the order of the shapefunction associated with the connect.
unsigned char fOrder
Interpolation order of the associated shape functions.
void SetLagrangeMultiplier(unsigned char mult)
Set the connect as a pressure connect or not.
TPZDepend * AddDependency(int64_t myindex, int64_t dependindex, TPZFMatrix< REAL > &depmat, int64_t ipos, int64_t jpos, int isize, int jsize)
Add dependency between connects.
struct TPZConnect::@47::@49 fCompose
int CheckDependency(int nshape, TPZCompMesh *mesh, int nstate)
void Read(TPZStream &buf, void *context) override
read objects from the stream
int DependencyDepth(TPZCompMesh &mesh)
the maximum number of recursive dependencies
TPZDepend * fDependList
Dependency list of the connect (NULL if the connect is not constrained)
unsigned char LagrangeMultiplier() const
Access method to return the indication whether the connect is associated with a pressure lagrange mul...
int NumDepend() const
size of the dependency list
unsigned char Order() const
Access function to return the order associated with the connect.
int64_t SequenceNumber() const
Returns the Sequence number of the connect object.
void Reset()
Reset the data of the connect.
Structure to reference dependency.
TPZConnect()
Default constructor.
Contains TPZMatrixclass which implements full matrix (using column major representation).
#define DebugStop()
Returns a message to user put a breakpoint in.
bool fIsCondensed
Whether the equations associated with the connect should be/are condensed.
void SetSequenceNumber(int64_t i)
Set the sequence number for the global system of equations of the connect object. ...
This class defines the boundary condition for TPZMaterial objects.
void SetNState(int nstate)
Set the number of state variables.
unsigned int NShape() const
void SetNShape(int nshape)
Set the number of shape functions associated with the connect.
int HasDependency() const
Returns whether exist dependecy information.
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 de...
void SetCondensed(bool flag)
Set the connect as a condensed connect or not.
unsigned char NState() const
Number of state variables associated with the connect.
int32_t Hash(std::string str)
void AddToList(int64_t myindex, TPZCompMesh &mesh, TPZStack< int64_t > &connectlist)
Adds itself and the connects from which it depends to the list.
unsigned char fLagrangeMultiplier
Whether the connnect is associated with a lagrange multiplier, indicating the level level n multiplie...
unsigned char fNState
Number of state variables associated with each shape function.
TPZFNMatrix< 50, REAL > fDepMatrix
TPZConnect & operator=(const TPZConnect &con)
TPZDepend * HasDepend(int64_t DepConnectIndex)
int fNElConnected
Number of element connected.
Implements block matrices. Matrix utility.
void ResetElConnected()
Initialize with zero fNElConnected.
TPZDepend * FirstDepend()
virtual int ClassId() const override
Define the class id associated with the class.
Implements computational mesh. Computational Mesh.
int NDof() const
Number of degrees of freedom associated with the object.
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 t...
int NElConnected() const
Returns fNElConnected.
~TPZConnect()
Default destructor.
Defines the interface for saving and reading data. Persistency.
void SetDependenceOrder(int64_t myindex, TPZCompMesh &mesh, int CurrentOrder, TPZVec< int64_t > &connectlist, TPZVec< int > &DependenceOrder)
void Print(const TPZCompMesh &mesh, std::ostream &out=std::cout)
Print the information for the connect element.
void CopyFrom(TPZDepend *orig, std::map< int64_t, int64_t > &gl2lcIdx)
Copy a depend data structure to a clone depend in a clone mesh.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
bool IsCondensed() const
Access method to return the indication whether the connect is condensed or not.
std::ostream & operator<<(std::ostream &out, TPZConnect &con)
Overload operator << to write node connect data.
TPZDepend * RemoveDepend(TPZDepend *Ptr)
void ExpandShape(int64_t cind, TPZVec< int64_t > &connectlist, TPZVec< int > &blocksize, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi)