NeoPZ
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
pzgeom::TPZTriangleSphere< GeomTriang > Class Template Reference

#include <TPZTriangleSphere.h>

Inheritance diagram for pzgeom::TPZTriangleSphere< GeomTriang >:
[legend]
Collaboration diagram for pzgeom::TPZTriangleSphere< GeomTriang >:
[legend]

Public Member Functions

int ClassId () const override
 
 TPZTriangleSphere (TPZVec< int64_t > &nodeindexes)
 Constructor with list of nodes. More...
 
 TPZTriangleSphere ()
 Empty constructor. More...
 
 TPZTriangleSphere (const TPZTriangleSphere &cp, std::map< int64_t, int64_t > &gl2lcNdMap)
 Constructor with node map. More...
 
 TPZTriangleSphere (const TPZTriangleSphere &cp)
 Copy constructor. More...
 
 TPZTriangleSphere (const TPZTriangleSphere &cp, TPZGeoMesh &)
 Copy constructor. More...
 
TPZTriangleSphereoperator= (const TPZTriangleSphere &cp)
 
void SetData (const REAL R, TPZVec< REAL > &Xc)
 
bool IsGeoBlendEl () const
 declare geometry as blended element More...
 
template<class T >
void X (TPZFMatrix< REAL > &cornerco, TPZVec< T > &loc, TPZVec< T > &result) const
 
template<class T >
void GradX (TPZFMatrix< REAL > &cornerco, TPZVec< T > &par, TPZFMatrix< T > &gradx) 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
 
template<>
bool IsGeoBlendEl () const
 declare geometry as blended element More...
 

Static Public Member Functions

static std::string TypeName ()
 Returns the type name of the element. More...
 
static bool IsLinearMapping (int side)
 
static void InsertExampleElement (TPZGeoMesh &gmesh, int matid, TPZVec< REAL > &lowercorner, TPZVec< REAL > &size)
 

Private Attributes

TPZVec< REAL > fXc
 
REAL fR
 

Detailed Description

template<class GeomTriang = pzgeom::TPZGeoTriangle>
class pzgeom::TPZTriangleSphere< GeomTriang >

Definition at line 18 of file TPZTriangleSphere.h.

Constructor & Destructor Documentation

◆ TPZTriangleSphere() [1/5]

template<class GeomTriang = pzgeom::TPZGeoTriangle>
pzgeom::TPZTriangleSphere< GeomTriang >::TPZTriangleSphere ( TPZVec< int64_t > &  nodeindexes)
inline

Constructor with list of nodes.

Definition at line 29 of file TPZTriangleSphere.h.

◆ TPZTriangleSphere() [2/5]

template<class GeomTriang = pzgeom::TPZGeoTriangle>
pzgeom::TPZTriangleSphere< GeomTriang >::TPZTriangleSphere ( )
inline

Empty constructor.

Definition at line 34 of file TPZTriangleSphere.h.

◆ TPZTriangleSphere() [3/5]

template<class GeomTriang = pzgeom::TPZGeoTriangle>
pzgeom::TPZTriangleSphere< GeomTriang >::TPZTriangleSphere ( const TPZTriangleSphere< GeomTriang > &  cp,
std::map< int64_t, int64_t > &  gl2lcNdMap 
)
inline

Constructor with node map.

Definition at line 39 of file TPZTriangleSphere.h.

◆ TPZTriangleSphere() [4/5]

template<class GeomTriang = pzgeom::TPZGeoTriangle>
pzgeom::TPZTriangleSphere< GeomTriang >::TPZTriangleSphere ( const TPZTriangleSphere< GeomTriang > &  cp)
inline

Copy constructor.

Definition at line 45 of file TPZTriangleSphere.h.

◆ TPZTriangleSphere() [5/5]

template<class GeomTriang = pzgeom::TPZGeoTriangle>
pzgeom::TPZTriangleSphere< GeomTriang >::TPZTriangleSphere ( const TPZTriangleSphere< GeomTriang > &  cp,
TPZGeoMesh  
)
inline

Copy constructor.

Definition at line 50 of file TPZTriangleSphere.h.

Member Function Documentation

◆ ClassId()

template<class GeomTriang >
int pzgeom::TPZTriangleSphere< GeomTriang >::ClassId ( ) const
override

Definition at line 289 of file TPZTriangleSphere.h.

References Hash().

◆ GradX()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
template<class T >
void pzgeom::TPZTriangleSphere< GeomTriang >::GradX ( TPZFMatrix< REAL > &  cornerco,
TPZVec< T > &  par,
TPZFMatrix< T > &  gradx 
) const
inline

◆ InsertExampleElement()

template<class GeomTriang >
void pzgeom::TPZTriangleSphere< GeomTriang >::InsertExampleElement ( TPZGeoMesh gmesh,
int  matid,
TPZVec< REAL > &  lowercorner,
TPZVec< REAL > &  size 
)
static

◆ IsGeoBlendEl() [1/2]

template<class GeomTriang >
bool pzgeom::TPZTriangleSphere< GeomTriang >::IsGeoBlendEl ( ) const

declare geometry as blended element

Creates a geometric element according to the type of the father element.

Creates a geometric element according to the type of the father element

Definition at line 97 of file TPZTriangleSphere.cpp.

Referenced by pzgeom::TPZTriangleSphere< GeomTriang >::SetData().

◆ IsGeoBlendEl() [2/2]

template<>
bool pzgeom::TPZTriangleSphere< pzgeom::TPZGeoBlend< pzgeom::TPZGeoTriangle > >::IsGeoBlendEl ( ) const

declare geometry as blended element

Definition at line 104 of file TPZTriangleSphere.cpp.

◆ IsLinearMapping()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
static bool pzgeom::TPZTriangleSphere< GeomTriang >::IsLinearMapping ( int  side)
inlinestatic

Definition at line 80 of file TPZTriangleSphere.h.

◆ operator=()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
TPZTriangleSphere& pzgeom::TPZTriangleSphere< GeomTriang >::operator= ( const TPZTriangleSphere< GeomTriang > &  cp)
inline

◆ Read()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
void pzgeom::TPZTriangleSphere< GeomTriang >::Read ( TPZStream buf,
void *  context 
)
inlineoverride

Creates a geometric element according to the type of the father element.

Definition at line 270 of file TPZTriangleSphere.h.

References TPZStream::Read(), and pzgeom::TPZGeoTriangle::Read().

◆ SetData()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
void pzgeom::TPZTriangleSphere< GeomTriang >::SetData ( const REAL  R,
TPZVec< REAL > &  Xc 
)
inline

◆ TypeName()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
static std::string pzgeom::TPZTriangleSphere< GeomTriang >::TypeName ( )
inlinestatic

Returns the type name of the element.

Definition at line 78 of file TPZTriangleSphere.h.

◆ Write()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
void pzgeom::TPZTriangleSphere< GeomTriang >::Write ( TPZStream buf,
int  withclassid 
) const
inlineoverride

◆ X()

template<class GeomTriang = pzgeom::TPZGeoTriangle>
template<class T >
void pzgeom::TPZTriangleSphere< GeomTriang >::X ( TPZFMatrix< REAL > &  cornerco,
TPZVec< T > &  loc,
TPZVec< T > &  result 
) const
inline

Definition at line 87 of file TPZTriangleSphere.h.

References pzgeom::TPZTriangleSphere< GeomTriang >::fXc, and sqrt.

Member Data Documentation

◆ fR

template<class GeomTriang = pzgeom::TPZGeoTriangle>
REAL pzgeom::TPZTriangleSphere< GeomTriang >::fR
private

◆ fXc

template<class GeomTriang = pzgeom::TPZGeoTriangle>
TPZVec<REAL> pzgeom::TPZTriangleSphere< GeomTriang >::fXc
private

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