NeoPZ
Public Member Functions | Static Public Member Functions | List of all members
TPZBuildMultiphysicsMesh Class Reference

#include <pzbuildmultiphysicsmesh.h>

Public Member Functions

 TPZBuildMultiphysicsMesh ()
 
 ~TPZBuildMultiphysicsMesh ()
 

Static Public Member Functions

static void AddElements (TPZVec< TPZCompMesh *> &cmeshVec, TPZCompMesh *MFMesh)
 Creating multiphysic elements into mphysics computational mesh. Method to add elements in the mesh multiphysics. More...
 
static void AddConnects (TPZVec< TPZCompMesh *> &cmeshVec, TPZCompMesh *MFMesh)
 
static void AppendConnects (TPZCompMesh *cmesh, TPZCompMesh *MFMesh)
 
static void TransferFromMeshes (TPZVec< TPZCompMesh *> &cmeshVec, TPZCompMesh *MFMesh)
 Transfer information from a specific set of meshes for the current mesh multiphysics. More...
 
static void TransferFromMeshes (TPZVec< TPZAutoPointer< TPZCompMesh > > &cmeshVec, TPZAutoPointer< TPZCompMesh > MFMesh)
 Transfer information from a specific set of meshes for the current mesh multiphysics. More...
 
static void TransferFromMultiPhysics (TPZVec< TPZCompMesh *> &cmeshVec, TPZCompMesh *MFMesh)
 Transfer information from a specific mesh multiphysics for the current specific set of meshes. More...
 
static void TransferFromMultiPhysics (TPZVec< TPZAutoPointer< TPZCompMesh > > &cmeshVec, TPZAutoPointer< TPZCompMesh > MFMesh)
 Transfer information from a specific mesh multiphysics for the current specific set of meshes. More...
 
static void ShowShape (TPZVec< TPZCompMesh *> &cmeshVec, TPZCompMesh *MFMesh, TPZAnalysis &analysis, const std::string &filename, TPZVec< int64_t > &equationindices)
 Show shape functions associated with connects of a multiphysics mesh. More...
 
static void BuildHybridMesh (TPZCompMesh *cmesh, std::set< int > &MaterialIDs, std::set< int > &BCMaterialIds, int LagrangeMat, int InterfaceMat)
 Creating computational mesh with interface elements. More...
 
static void UniformRefineCompMesh (TPZCompMesh *cMesh, int ndiv, bool isLagrMult=true)
 Uniform refinement of the computational mesh. More...
 
static void UniformRefineCompEl (TPZCompMesh *cMesh, int64_t indexEl, bool isLagrMult)
 Uniform refinement of the computational element. More...
 
static void AddWrap (TPZMultiphysicsElement *mfcel, int matskeleton, TPZStack< TPZStack< TPZMultiphysicsElement *, 7 > > &ListGroupEl)
 Create skeleton elements of the wrap of me. More...
 
static void ComputeAtomicIndexes (TPZCompMesh *mesh, TPZVec< atomic_index > &indexes)
 

Detailed Description

Definition at line 23 of file pzbuildmultiphysicsmesh.h.

Constructor & Destructor Documentation

◆ TPZBuildMultiphysicsMesh()

TPZBuildMultiphysicsMesh::TPZBuildMultiphysicsMesh ( )

Definition at line 33 of file pzbuildmultiphysicsmesh.cpp.

◆ ~TPZBuildMultiphysicsMesh()

TPZBuildMultiphysicsMesh::~TPZBuildMultiphysicsMesh ( )

Definition at line 36 of file pzbuildmultiphysicsmesh.cpp.

Member Function Documentation

◆ AddConnects()

void TPZBuildMultiphysicsMesh::AddConnects ( TPZVec< TPZCompMesh *> &  cmeshVec,
TPZCompMesh MFMesh 
)
static

◆ AddElements()

void TPZBuildMultiphysicsMesh::AddElements ( TPZVec< TPZCompMesh *> &  cmeshVec,
TPZCompMesh MFMesh 
)
static

◆ AddWrap()

void TPZBuildMultiphysicsMesh::AddWrap ( TPZMultiphysicsElement mfcel,
int  matskeleton,
TPZStack< TPZStack< TPZMultiphysicsElement *, 7 > > &  ListGroupEl 
)
static

◆ AppendConnects()

void TPZBuildMultiphysicsMesh::AppendConnects ( TPZCompMesh cmesh,
TPZCompMesh MFMesh 
)
static

◆ BuildHybridMesh()

void TPZBuildMultiphysicsMesh::BuildHybridMesh ( TPZCompMesh cmesh,
std::set< int > &  MaterialIDs,
std::set< int > &  BCMaterialIds,
int  LagrangeMat,
int  InterfaceMat 
)
static

Creating computational mesh with interface elements.

Parameters
cmesh[in]: computational mesh
MaterialIDs[in]: set of index materials
LagrangeMat[in]: index Lagrange material
InterfaceMat[in]: index interface material

???? o InterfaceMaterial não esta fazendo o que preciso. Por isso nao estou usando matid !

Definition at line 439 of file pzbuildmultiphysicsmesh.cpp.

References TPZCompMesh::AdjustBoundaryElements(), TPZGeoElSide::AllNeighbours(), TPZCompMesh::ApproxSpace(), TPZCompMesh::AutoBuild(), TPZCreateApproximationSpace::BuildMesh(), TPZCompMesh::CleanUpUnconnectedNodes(), TPZCompEl::Connect(), TPZGeoEl::CreateBCGeoEl(), TPZCreateApproximationSpace::CreateDisconnectedElements(), DebugStop, TPZCompMesh::Dimension(), TPZGeoEl::Dimension(), TPZGeoElSide::Element(), TPZCompElSide::Element(), TPZGeoMesh::ElementVec(), TPZCompMesh::ElementVec(), TPZGeoElSide::EqualLevelCompElementList(), TPZGeoElSide::HigherLevelCompElementList2(), TPZMaterial::Id(), TPZCompMesh::InitializeBlock(), TPZGeoMesh::InterfaceMaterial(), TPZCompMesh::LoadReferences(), LOGPZ_DEBUG, TPZGeoElSide::LowerLevelCompElementList2(), TPZCompEl::Material(), TPZGeoEl::MaterialId(), TPZGeoMesh::NElements(), TPZCompMesh::NElements(), TPZVec< T >::NElements(), TPZChunkVector< T, EXP >::NElements(), TPZGeoEl::NSides(), TPZGeoMesh::Print(), TPZStack< T, NumExtAlloc >::Push(), TPZCompEl::Reference(), TPZCompMesh::Reference(), TPZGeoEl::Reference(), TPZCompElSide::Reference(), TPZGeoMesh::ResetReference(), TPZManVector< T, NumExtAlloc >::Resize(), TPZCreateApproximationSpace::SetAllCreateFunctionsContinuous(), TPZCompMesh::SetAllCreateFunctionsContinuous(), TPZConnect::SetLagrangeMultiplier(), TPZGeoEl::SideDimension(), and TPZVec< T >::size().

Referenced by MalhaComp(), and TransferFromMultiPhysics().

◆ ComputeAtomicIndexes()

void TPZBuildMultiphysicsMesh::ComputeAtomicIndexes ( TPZCompMesh mesh,
TPZVec< atomic_index > &  indexes 
)
static

Compute the correspondence between the connect index in the multiphysics mesh and the connect indexes in the atomic meshes

Definition at line 961 of file pzbuildmultiphysicsmesh.cpp.

References TPZCompMesh::Element(), FillAtomic(), TPZCompMesh::NConnects(), TPZCompMesh::NElements(), and TPZVec< T >::Resize().

Referenced by TransferFromMeshes(), and TransferFromMultiPhysics().

◆ ShowShape()

void TPZBuildMultiphysicsMesh::ShowShape ( TPZVec< TPZCompMesh *> &  cmeshVec,
TPZCompMesh MFMesh,
TPZAnalysis analysis,
const std::string &  filename,
TPZVec< int64_t > &  equationindices 
)
static

◆ TransferFromMeshes() [1/2]

void TPZBuildMultiphysicsMesh::TransferFromMeshes ( TPZVec< TPZCompMesh *> &  cmeshVec,
TPZCompMesh MFMesh 
)
static

◆ TransferFromMeshes() [2/2]

static void TPZBuildMultiphysicsMesh::TransferFromMeshes ( TPZVec< TPZAutoPointer< TPZCompMesh > > &  cmeshVec,
TPZAutoPointer< TPZCompMesh MFMesh 
)
inlinestatic

Transfer information from a specific set of meshes for the current mesh multiphysics.

Parameters
cmeshVec[in] vector of meshes. Transfers the information
MFMesh[out] mesh pointer who will receive the information

Definition at line 63 of file pzbuildmultiphysicsmesh.h.

References TPZVec< T >::size(), TransferFromMeshes(), and TransferFromMultiPhysics().

◆ TransferFromMultiPhysics() [1/2]

void TPZBuildMultiphysicsMesh::TransferFromMultiPhysics ( TPZVec< TPZCompMesh *> &  cmeshVec,
TPZCompMesh MFMesh 
)
static

Transfer information from a specific mesh multiphysics for the current specific set of meshes.

Parameters
cmeshVec[out] vector of meshes that will receive the information.
MFMesh[in] mesh pointer that Transfers the information

Whether connect was deleted by previous refined process

Definition at line 400 of file pzbuildmultiphysicsmesh.cpp.

References TPZCompMesh::Block(), ComputeAtomicIndexes(), TPZCompMesh::ConnectVec(), DebugStop, TPZCompMesh::Element(), TPZBlock< TVar >::Get(), idf, TPZCompMesh::NElements(), TPZBlock< TVar >::Position(), TPZConnect::SequenceNumber(), TPZBlock< TVar >::Size(), TPZVec< T >::size(), TPZCompMesh::Solution(), and val().

Referenced by TPZElastoPlasticAnalysis::LoadSolution(), Hdiv2dPaper201504::PrintErrors(), hdivCurvedJCompAppMath::PrintErrors(), Hdiv3dPaper201504::PrintErrors(), Hdiv2dPaper201504::Run(), hdivCurvedJCompAppMath::Run(), Hdiv3dPaper201504::Run(), ShowShape(), TransferFromMeshes(), and TransferFromMultiPhysics().

◆ TransferFromMultiPhysics() [2/2]

static void TPZBuildMultiphysicsMesh::TransferFromMultiPhysics ( TPZVec< TPZAutoPointer< TPZCompMesh > > &  cmeshVec,
TPZAutoPointer< TPZCompMesh MFMesh 
)
inlinestatic

Transfer information from a specific mesh multiphysics for the current specific set of meshes.

Parameters
cmeshVec[out] vector of meshes that will receive the information.
MFMesh[in] mesh pointer that Transfers the information

Definition at line 84 of file pzbuildmultiphysicsmesh.h.

References AddWrap(), BuildHybridMesh(), ComputeAtomicIndexes(), stats::filename, ShowShape(), TPZVec< T >::size(), TransferFromMultiPhysics(), UniformRefineCompEl(), and UniformRefineCompMesh().

◆ UniformRefineCompEl()

void TPZBuildMultiphysicsMesh::UniformRefineCompEl ( TPZCompMesh cMesh,
int64_t  indexEl,
bool  isLagrMult 
)
static

◆ UniformRefineCompMesh()

void TPZBuildMultiphysicsMesh::UniformRefineCompMesh ( TPZCompMesh cMesh,
int  ndiv,
bool  isLagrMult = true 
)
static

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