NeoPZ
TPZMultiphysicsCompMesh.h
Go to the documentation of this file.
1 //
2 // TPZMultiphysicsCompMesh.h
3 // pz
4 //
5 // Created by Omar DurĂ¡n on 3/21/19.
6 //
7 
8 #ifndef TPZMultiphysicsCompMesh_h
9 #define TPZMultiphysicsCompMesh_h
10 
11 #include <stdio.h>
12 #include "pzgmesh.h"
13 #include "pzcmesh.h"
14 #include "pzvec.h"
16 
18 
23 
26 
27 public:
28 
31 
34 
37 
40 
43 
46 
48  void AutoBuild();
49 
51  void BuildMultiphysicsSpace(TPZVec<int> & active_approx_spaces, TPZVec<TPZCompMesh * > & mesh_vector);
52 
55 
57  void BuildMultiphysicsSpace(TPZVec<TPZCompMesh * > & mesh_vector, const TPZVec<int64_t> &gelindexes);
58 
60  void BuildMultiphysicsSpaceWithMemory(TPZVec<int> & active_approx_spaces, TPZVec<TPZCompMesh * > & mesh_vector);
61 
63 
65 
68 
71 
72 private:
74  void AddElements();
76  void AddConnects();
77 
79  void CleanElementsConnects();
80 };
81 
82 #endif /* TPZMultiphysicsCompMesh_h */
TPZManVector< int, 5 > m_active_approx_spaces
Templated vector implementation.
void AutoBuild()
Automatic builder for the computational mesh structure.
Contains declaration of TPZMesh class which defines a geometrical mesh and contains a corresponding l...
TPZVec< TPZCompMesh * > & MeshVector()
Get the vector of computational meshes.
void AddElements()
add the elements from the atomic meshes to the multiphysics elements
TPZManVector< TPZCompMesh *, 3 > m_mesh_vector
Vector of computational meshes.
Contains the declaration of multiphysic interface class.
TPZMultiphysicsCompMesh & operator=(const TPZMultiphysicsCompMesh &other)
Assignement constructor.
Contains declaration of TPZCompMesh class which is a repository for computational elements...
void BuildMultiphysicsSpaceWithMemory(TPZVec< int > &active_approx_spaces, TPZVec< TPZCompMesh * > &mesh_vector)
Set active approximation spaces.
This class implements a geometric mesh for the pz environment. Geometry.
Definition: pzgmesh.h:48
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
TPZVec< int > & GetActiveApproximationSpaces()
Get the vector of active physics.
void BuildMultiphysicsSpace(TPZVec< int > &active_approx_spaces, TPZVec< TPZCompMesh * > &mesh_vector)
Set active approximation spaces.
void CleanElementsConnects()
delete the elements and connects
TPZMultiphysicsCompMesh()
Default constructor.
void AddConnects()
add the connects from the atomic meshes