6 #ifndef CREATECONTINUOUSHPP 7 #define CREATECONTINUOUSHPP 49 ,fCreateWithMemory(copy.fCreateWithMemory)
51 for (
int i=0; i<8; i++) {
58 for (
int i=0; i<8; i++) {
74 fCreateLagrangeMultiplier = flag;
79 fCreateWithMemory = flag;
97 #if defined(USING_MKL) && defined(USING_LAPACK) && !defined(STATE_COMPLEX) 99 void SetAllCreateFunctionsSBFem(
int meshdim);
102 #ifndef STATE_COMPLEX 167 fCreateHybridMesh = create;
176 static void Hybridize(
TPZCompMesh &cmesh,
const std::set<int> &matids,
bool isconnectedElem =
false);
void SetAllCreateFunctionsHDivPressure(int meshdim)
Create an approximation space with HDiv elements and full basis for quadrilateral element...
void SetAllCreateFunctionsMultiphysicElemWithMem()
Create an approximation space based on multiphysics elements with memory.
void SetAllCreateFunctionsDiscontinuous()
Create discontinuous approximation spaces.
void SetAllCreateFunctions(TPZCompEl &cel, TPZCompMesh *mesh)
Create approximation spaces corresponding to the space defined by cel.
static void UndoCondenseLocalEquations(TPZCompMesh &cmesh)
Undo the encapsulate elements.
Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
void SetAllCreateFunctionsContinuousWithMem()
Create an approximation space with continous elements with memory. Only dimension 3 elements quem hav...
static void MakeRaviartThomas(TPZCompMesh &cmesh)
transform in low order Raviar Tomas
TPZCompEl *(* fp[8])(TPZGeoEl *el, TPZCompMesh &mesh, int64_t &index)
Function pointer which determines what type of computational element will be created.
Templated vector implementation.
static void Hybridize(TPZCompMesh &cmesh, const std::set< int > &matids, bool isconnectedElem=false)
this method will substitute all interface elements with materialid within the set by three elements :...
static void UndoMakeRaviartThomas(TPZCompMesh &cmesh)
transform in low order Raviar Tomas
void SetCreateFunctions(TPZVec< TCreateFunction > &createfuncs)
Set custom function pointers.
void SetAllCreateFunctionsContinuousReferred()
Create a continuous approximation space with referred elements.
This class implements a simple vector storage scheme for a templated class T. Utility.
static void CreateInterfaceElements(TPZCompMesh *mesh, bool onlydiscontinuous=true, bool multiphysics=false)
Create interface elements between the computational elements.
void SetAllCreateFunctionsDiscontinuousReferred()
Create a discontinuous approximation space with referred elements.
void SetAllCreateFunctionsMultiphysicElem()
Create an approximation space based on multiphysics elements.
void CreateDisconnectedElements(bool create)
Determine if the mesh will be created with disconnected elements After the mesh is created...
static void AutoBuildContDisc(const TPZVec< TPZGeoEl *> &continuous, const TPZVec< TPZGeoEl *> &discontinuous)
Creates the computational elements, and the degree of freedom nodes.
bool fCreateWithMemory
flag indicating that the elements need to be created with memory
static void CreateInterfaces(TPZCompMesh &cmesh, const std::set< int > &MaterialIDs)
Creates the interface elements.
void SetAllCreateFunctionsHDiv(int meshdim)
Create an approximation space with HDiv elements.
bool fCreateLagrangeMultiplier
flag indicating whether each element should have an aditional lagrange multiplier ...
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
TPZCreateApproximationSpace & operator=(const TPZCreateApproximationSpace ©)
int ClassId() const override
Define the class id associated with the class.
void SetAllCreateFunctionsContinuous()
Create continuous approximation spaces.
void Read(TPZStream &buf, void *context) override
read objects from the stream
TPZCreateApproximationSpace(const TPZCreateApproximationSpace ©)
bool fCreateHybridMesh
boolean indicating if each element should be created disconnected from the others ...
void SetCreateLagrange(bool flag)
TPZCompEl * CreateCompEl(TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) const
Create a computational element using the function pointer for the topology.
Implements computational mesh. Computational Mesh.
void BuildMesh(TPZCompMesh &cmesh, const std::set< int > &MaterialIDs) const
Creates the computational elements, and the degree of freedom nodes.
void CreateWithMemory(bool flag)
TPZCreateApproximationSpace()
Defines the interface for saving and reading data. Persistency.
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
static void CondenseLocalEquations(TPZCompMesh &cmesh)
Encapsulate the elements in condensed computational elements.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
Defines the interface of a computational element. Computational Element.
void SetAllCreateFunctionsHDivReferred(int meshdim)
Create an approximation space with HDiv elements.