NeoPZ
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
pzgeom::TPZQuadSphere< GeomQuad > Class Template Reference

#include <TPZQuadSphere.h>

Inheritance diagram for pzgeom::TPZQuadSphere< GeomQuad >:
[legend]
Collaboration diagram for pzgeom::TPZQuadSphere< GeomQuad >:
[legend]

Public Types

typedef pztopology::TPZQuadrilateral Top
 

Public Member Functions

 TPZQuadSphere (TPZVec< int64_t > &nodeindexes)
 Constructor with list of nodes. More...
 
 TPZQuadSphere ()
 Empty constructor. More...
 
 TPZQuadSphere (const TPZQuadSphere &cp, std::map< int64_t, int64_t > &gl2lcNdMap)
 Constructor with node map. More...
 
 TPZQuadSphere (const TPZQuadSphere &cp)
 Copy constructor. More...
 
 TPZQuadSphere (const TPZQuadSphere &cp, TPZGeoMesh &)
 Copy constructor. More...
 
TPZQuadSphereoperator= (const TPZQuadSphere &cp)
 
bool IsGeoBlendEl () const
 declare geometry as blended element More...
 
void SetData (const REAL &R, const TPZVec< REAL > &xc)
 
template<class T >
void X (TPZFMatrix< REAL > &coord, TPZVec< T > &loc, TPZVec< T > &result) const
 
template<class T >
void GradX (TPZFMatrix< REAL > &coord, TPZVec< T > &param, 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 bool IsLinearMapping (int side)
 
static std::string TypeName ()
 Returns the type name of the element. More...
 
template<class T >
static TPZFMatrix< T > TensorProd (TPZFMatrix< T > &vec1, TPZFMatrix< T > &vec2)
 
static void InsertExampleElement (TPZGeoMesh &gmesh, int matid, TPZVec< REAL > &lowercorner, TPZVec< REAL > &size)
 

Private Attributes

REAL fR
 
TPZVec< REAL > fxc
 

Detailed Description

template<class GeomQuad = pzgeom::TPZGeoQuad>
class pzgeom::TPZQuadSphere< GeomQuad >

Definition at line 18 of file TPZQuadSphere.h.

Member Typedef Documentation

◆ Top

template<class GeomQuad = pzgeom::TPZGeoQuad>
typedef pztopology::TPZQuadrilateral pzgeom::TPZQuadSphere< GeomQuad >::Top

Definition at line 25 of file TPZQuadSphere.h.

Constructor & Destructor Documentation

◆ TPZQuadSphere() [1/5]

template<class GeomQuad = pzgeom::TPZGeoQuad>
pzgeom::TPZQuadSphere< GeomQuad >::TPZQuadSphere ( TPZVec< int64_t > &  nodeindexes)
inline

Constructor with list of nodes.

Definition at line 27 of file TPZQuadSphere.h.

◆ TPZQuadSphere() [2/5]

template<class GeomQuad = pzgeom::TPZGeoQuad>
pzgeom::TPZQuadSphere< GeomQuad >::TPZQuadSphere ( )
inline

Empty constructor.

Definition at line 32 of file TPZQuadSphere.h.

◆ TPZQuadSphere() [3/5]

template<class GeomQuad = pzgeom::TPZGeoQuad>
pzgeom::TPZQuadSphere< GeomQuad >::TPZQuadSphere ( const TPZQuadSphere< GeomQuad > &  cp,
std::map< int64_t, int64_t > &  gl2lcNdMap 
)
inline

Constructor with node map.

Definition at line 37 of file TPZQuadSphere.h.

◆ TPZQuadSphere() [4/5]

template<class GeomQuad = pzgeom::TPZGeoQuad>
pzgeom::TPZQuadSphere< GeomQuad >::TPZQuadSphere ( const TPZQuadSphere< GeomQuad > &  cp)
inline

Copy constructor.

Definition at line 43 of file TPZQuadSphere.h.

◆ TPZQuadSphere() [5/5]

template<class GeomQuad = pzgeom::TPZGeoQuad>
pzgeom::TPZQuadSphere< GeomQuad >::TPZQuadSphere ( const TPZQuadSphere< GeomQuad > &  cp,
TPZGeoMesh  
)
inline

Copy constructor.

Definition at line 48 of file TPZQuadSphere.h.

Member Function Documentation

◆ GradX()

template<class GeomQuad = pzgeom::TPZGeoQuad>
template<class T >
void pzgeom::TPZQuadSphere< GeomQuad >::GradX ( TPZFMatrix< REAL > &  coord,
TPZVec< T > &  param,
TPZFMatrix< T > &  gradx 
) const
inline

◆ InsertExampleElement()

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

◆ IsGeoBlendEl() [1/2]

template<class GeomQuad >
bool pzgeom::TPZQuadSphere< GeomQuad >::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 elementdeclare geometry as blended element

Definition at line 101 of file TPZQuadSphere.cpp.

Referenced by pzgeom::TPZQuadSphere< GeomQuad >::operator=().

◆ IsGeoBlendEl() [2/2]

template<>
bool pzgeom::TPZQuadSphere< pzgeom::TPZGeoBlend< pzgeom::TPZGeoQuad > >::IsGeoBlendEl ( ) const

declare geometry as blended element

Definition at line 108 of file TPZQuadSphere.cpp.

◆ IsLinearMapping()

template<class GeomQuad = pzgeom::TPZGeoQuad>
static bool pzgeom::TPZQuadSphere< GeomQuad >::IsLinearMapping ( int  side)
inlinestatic

Definition at line 63 of file TPZQuadSphere.h.

◆ operator=()

template<class GeomQuad = pzgeom::TPZGeoQuad>
TPZQuadSphere& pzgeom::TPZQuadSphere< GeomQuad >::operator= ( const TPZQuadSphere< GeomQuad > &  cp)
inline

◆ Read()

template<class GeomQuad = pzgeom::TPZGeoQuad>
void pzgeom::TPZQuadSphere< GeomQuad >::Read ( TPZStream buf,
void *  context 
)
inlineoverride

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

Definition at line 257 of file TPZQuadSphere.h.

References TPZStream::Read().

◆ SetData()

template<class GeomQuad = pzgeom::TPZGeoQuad>
void pzgeom::TPZQuadSphere< GeomQuad >::SetData ( const REAL &  R,
const TPZVec< REAL > &  xc 
)
inline

Definition at line 72 of file TPZQuadSphere.h.

References DebugStop, TPZVec< T >::NElements(), and PZError.

◆ TensorProd()

template<class GeomQuad = pzgeom::TPZGeoQuad>
template<class T >
static TPZFMatrix<T> pzgeom::TPZQuadSphere< GeomQuad >::TensorProd ( TPZFMatrix< T > &  vec1,
TPZFMatrix< T > &  vec2 
)
inlinestatic

Definition at line 238 of file TPZQuadSphere.h.

References test::res.

Referenced by pzgeom::TPZQuadSphere< GeomQuad >::GradX().

◆ TypeName()

template<class GeomQuad = pzgeom::TPZGeoQuad>
static std::string pzgeom::TPZQuadSphere< GeomQuad >::TypeName ( )
inlinestatic

Returns the type name of the element.

Definition at line 70 of file TPZQuadSphere.h.

◆ Write()

template<class GeomQuad = pzgeom::TPZGeoQuad>
void pzgeom::TPZQuadSphere< GeomQuad >::Write ( TPZStream buf,
int  withclassid 
) const
inlineoverride

◆ X()

template<class GeomQuad = pzgeom::TPZGeoQuad>
template<class T >
void pzgeom::TPZQuadSphere< GeomQuad >::X ( TPZFMatrix< REAL > &  coord,
TPZVec< T > &  loc,
TPZVec< T > &  result 
) const
inline

Definition at line 90 of file TPZQuadSphere.h.

References sqrt.

Member Data Documentation

◆ fR

template<class GeomQuad = pzgeom::TPZGeoQuad>
REAL pzgeom::TPZQuadSphere< GeomQuad >::fR
private

◆ fxc

template<class GeomQuad = pzgeom::TPZGeoQuad>
TPZVec<REAL> pzgeom::TPZQuadSphere< GeomQuad >::fxc
private

Definition at line 22 of file TPZQuadSphere.h.

Referenced by pzgeom::TPZQuadSphere< GeomQuad >::operator=().


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