9 #ifndef TPZBuildSBFem_hpp 10 #define TPZBuildSBFem_hpp 42 fElementPartition.
Fill(-1);
48 fMatIdTranslation = matidtranslation;
72 fElementPartition = gelpartitionids;
73 fPartitionCenterNode = partition_nodeindices;
void CreateElementCenterNodes(TPZVec< int64_t > &elindices)
create a geometric node at the center of each partition
void SetPartitions(TPZVec< int64_t > &gelpartitionids, TPZVec< int64_t > &partition_nodeindices)
define the partition index of each element and the ids of the scaling centers
virtual void resize(const int64_t newsize)
void DivideSkeleton(int nref)
Divide the skeleton elements.
int64_t NElements() const
Number of elements of the mesh.
std::map< int, int > fMatIdTranslation
The volumetric elements with Mat Id will spawn SBFemVolume elements with MatId.
void CreateVolumetricElements(TPZCompMesh &cmesh)
create geometric volumetric elements
void BuildComputationalMeshFromSkeleton(TPZCompMesh &cmesh)
build the computational elements of the skeleton and build the volume elements directly from the skel...
int64_t size() const
Returns the number of elements of the vector.
Contains declaration of TPZMesh class which defines a geometrical mesh and contains a corresponding l...
void AddSkeletonElements()
create the geometric skeleton elements
void CreateVolumetricElementsFromSkeleton(TPZCompMesh &cmesh)
create geometric volumetric elements
#define DebugStop()
Returns a message to user put a breakpoint in.
Free store vector implementation.
int fSkeletonMatId
Material Id associated with the skeleton elements.
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
void BuildComputationMesh(TPZCompMesh &cmesh)
add the sbfem elements to the computational mesh, the material should exist in cmesh ...
Contains declaration of TPZCompMesh class which is a repository for computational elements...
void SetMatIdTranslation(const std::map< int, int > &matidtranslation)
set the matid translation
TPZManVector< int64_t > fElementPartition
partition to which each element belongs
TPZBuildSBFem(TPZAutoPointer< TPZGeoMesh > gmesh, int skeletonmatid, std::map< int, int > &matidtranslation)
simple constructor
void StandardConfiguration()
standard configuration means each element is a partition and a center node is created ...
Implements computational mesh. Computational Mesh.
void AddPartition(TPZVec< int64_t > &elids, int64_t centernodeindex)
add a partition manually
void CreateElementGroups(TPZCompMesh &cmesh)
put the sbfem volumetric elements in element groups
void Fill(const T ©, const int64_t from=0, const int64_t numelem=-1)
Will fill the elements of the vector with a copy object.
void Configure(TPZVec< int64_t > &scalingcenters)
build element groups according to the id of the scaling centers
TPZAutoPointer< TPZGeoMesh > fGMesh
geometric mesh
TPZManVector< int64_t > fPartitionCenterNode
center node id for each partition