18 static log4cxx::LoggerPtr logger(Logger::getLogger(
"pz.geom.pzgeoquad"));
51 template<
class GeomQuad>
56 center[0] += radius/2.;
57 center[1] += radius/2.;
58 center[2] += radius/2.;
59 for (
int i=0; i<3; i++) {
68 for (
int i=0; i<4; i++) {
69 REAL norm =
sqrt(coords[i][0]*coords[i][0]+coords[i][1]*coords[i][1]+coords[i][2]*coords[i][2]);
70 for(
int j=0; j<3; j++) coords[i][j] *= radius/norm;
73 for (
int i=0; i<4; i++) {
76 for (
int j=0; j<3; j++) {
77 xco[j] = coords[i][j]+center[j];
79 gmesh.
NodeVec()[indices[i]].Initialize(xco, gmesh);
82 gel->
Geom().SetData(radius, center);
100 template<
class GeomQuad>
TPZFMatrix< REAL > TensorProd(TPZFMatrix< REAL > &mat1, TPZFMatrix< REAL > &mat2)
int AllocateNewElement()
Makes more room for new elements.
static void InsertExampleElement(TPZGeoMesh &gmesh, int matid, TPZVec< REAL > &lowercorner, TPZVec< REAL > &size)
Contains definitions to LOGPZ_DEBUG, LOGPZ_INFO, LOGPZ_WARN, LOGPZ_ERROR and LOGPZ_FATAL, and the implementation of the inline InitializePZLOG(string) function using log4cxx library or not. It must to be called out of "#ifdef LOG4CXX" scope.
Implements the mapping between the master element and deformed element. Geometry. ...
Contains declaration of TPZGeoElMapped class which implements a geometric element using its ancestral...
Implements a generic geometric element which is refined according to a generic refinement pattern...
Contains the TPZGeoBlend class which implements a blending map from curved boundaries to the interior...
TPZAdmChunkVector< TPZGeoNode > & NodeVec()
expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ sqrt
Contains declaration of TPZGeoElRefPattern class which implements a generic geometric element which i...
This class implements a geometric mesh for the pz environment. Geometry.
bool IsGeoBlendEl() const
declare geometry as blended element
Groups all classes which model the geometry.
Implements an interface to register a class id and a restore function. Persistence.