NeoPZ
|
#include <TPZCylinder.h>
Public Member Functions | |
TPZCylinderMap () | |
TPZCylinderMap (TPZVec< int64_t > &nodeindices) | |
TPZCylinderMap (const TPZCylinderMap &cp) | |
TPZCylinderMap & | operator= (const TPZCylinderMap &cp) |
void | SetOrigin (TPZVec< REAL > &origin, REAL radius) |
void | SetCylinderAxis (const TPZVec< REAL > &axis) |
axis direction with the vertical axis More... | |
void | ComputeCornerCoordinates (TPZGeoMesh &gmesh) |
compute the corner coordinates of the corner nodes More... | |
template<class T > | |
void | X (const TPZGeoEl &gel, TPZVec< T > &loc, TPZVec< T > &result) const |
template<class T > | |
void | GradX (const TPZGeoEl &gel, TPZVec< T > &par, TPZFMatrix< T > &gradx) const |
template<class T > | |
void | X (const TPZFMatrix< REAL > &nodes, TPZVec< T > &loc, TPZVec< T > &result) const |
void | Read (TPZStream &buf, void *context) override |
Creates a geometric element according to the type of the father element. More... | |
void | Write (TPZStream &buf, int withclassid) const override |
Static Public Member Functions | |
static std::string | TypeName () |
Returns the type name of the element. More... | |
static void | InsertExampleElement (TPZGeoMesh &gmesh, int matid, TPZVec< REAL > &lowercorner, TPZVec< REAL > &size) |
Private Attributes | |
TPZFNMatrix< TGeo::NNodes *3, REAL > | fCornerCo |
corner coordinates in cylindrical system (theta, z) More... | |
TPZManVector< REAL, 3 > | fOrigin |
node around which we rotate the coordinates More... | |
REAL | fRadius |
radius of the cylinder More... | |
TPZFNMatrix< 9, REAL > | fRotation |
rotation matrix More... | |
Definition at line 18 of file TPZCylinder.h.
|
inline |
Definition at line 34 of file TPZCylinder.h.
References TPZMatrix< TVar >::Identity().
|
inline |
Definition at line 39 of file TPZCylinder.h.
References TPZMatrix< TVar >::Identity().
|
inline |
Definition at line 44 of file TPZCylinder.h.
void pzgeom::TPZCylinderMap< TGeo >::ComputeCornerCoordinates | ( | TPZGeoMesh & | gmesh | ) |
compute the corner coordinates of the corner nodes
Definition at line 40 of file TPZCylinder.cpp.
References atan2(), co, DebugStop, fabs, TPZGeoMesh::NodeVec(), and sqrt.
Referenced by pzgeom::TPZCylinderMap< TGeo >::SetOrigin().
|
inline |
Definition at line 83 of file TPZCylinder.h.
References cos(), TPZFMatrix< TVar >::GetVal(), and sin.
|
static |
Referenced by pzgeom::TPZCylinderMap< TGeo >::Write().
|
inline |
Definition at line 48 of file TPZCylinder.h.
References pzgeom::TPZCylinderMap< TGeo >::fCornerCo, pzgeom::TPZCylinderMap< TGeo >::fOrigin, pzgeom::TPZCylinderMap< TGeo >::fRadius, and pzgeom::TPZCylinderMap< TGeo >::fRotation.
|
inlineoverride |
Creates a geometric element according to the type of the father element.
Definition at line 137 of file TPZCylinder.h.
References TPZFNMatrix< N, TVar >::Read().
void pzgeom::TPZCylinderMap< TGeo >::SetCylinderAxis | ( | const TPZVec< REAL > & | axis | ) |
axis direction with the vertical axis
Definition at line 15 of file TPZCylinder.cpp.
References Cross(), fabs, Norm(), and sqrt.
Referenced by pzgeom::TPZCylinderMap< TGeo >::SetOrigin().
|
inline |
Definition at line 58 of file TPZCylinder.h.
References pzgeom::TPZCylinderMap< TGeo >::ComputeCornerCoordinates(), and pzgeom::TPZCylinderMap< TGeo >::SetCylinderAxis().
|
inlinestatic |
Returns the type name of the element.
Definition at line 71 of file TPZCylinder.h.
|
inlineoverride |
Definition at line 143 of file TPZCylinder.h.
References pzgeom::TPZCylinderMap< TGeo >::InsertExampleElement(), and TPZFNMatrix< N, TVar >::Write().
|
inline |
Definition at line 75 of file TPZCylinder.h.
|
inline |
Definition at line 110 of file TPZCylinder.h.
References cos(), TPZFMatrix< TVar >::GetVal(), and sin.
|
private |
corner coordinates in cylindrical system (theta, z)
Definition at line 21 of file TPZCylinder.h.
Referenced by pzgeom::TPZCylinderMap< TGeo >::operator=().
|
private |
node around which we rotate the coordinates
Definition at line 24 of file TPZCylinder.h.
Referenced by pzgeom::TPZCylinderMap< TGeo >::operator=().
|
private |
radius of the cylinder
Definition at line 27 of file TPZCylinder.h.
Referenced by pzgeom::TPZCylinderMap< TGeo >::operator=().
|
private |
rotation matrix
Definition at line 30 of file TPZCylinder.h.
Referenced by pzgeom::TPZCylinderMap< TGeo >::operator=().