17 static log4cxx::LoggerPtr logger(Logger::getLogger(
"pz.geom.pzgeoquad0"));
137 REAL R = 1., r = 0.8;
148 phitheta(0,1) = M_PI/5.;
149 phitheta(0,2) = M_PI;
150 phitheta(0,3) = M_PI+M_PI/3.;
152 phitheta(1,0) = M_PI;
153 phitheta(1,1) = 2*M_PI;
154 phitheta(1,2) = 2*M_PI-M_PI/5.;
155 phitheta(1,3) = M_PI;
158 REAL coords[4][2] = {
159 {-1,-1},{1,-1},{1,1},{-1,1}
161 for (
int i=0; i<4; i++) {
164 loc[0] = coords[i][0];
165 loc[1] = coords[i][1];
167 torus.
X(phitheta, loc, xco);
168 gmesh.
NodeVec()[indexes[i]].Initialize(xco, gmesh);
void X(const TPZFMatrix< REAL > &nodes, TPZVec< T > &loc, TPZVec< T > &result) const
int AllocateNewElement()
Makes more room for new elements.
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.
void SetDataRadius(const REAL &R, const REAL &r)
Implements the mapping between the master element and deformed element. Geometry. ...
int ClassId() const override
Creates a geometric element according to the type of the father element.
void SetOrigin(TPZVec< REAL > &origin)
Contains declaration of TPZGeoElMapped class which implements a geometric element using its ancestral...
int ClassId() const override
Creates a geometric element according to the type of the father element.
Implements a generic geometric element which is refined according to a generic refinement pattern...
TPZAdmChunkVector< TPZGeoNode > & NodeVec()
Contains declaration of TPZGeoElRefPattern class which implements a generic geometric element which i...
int32_t Hash(std::string str)
This class implements a geometric mesh for the pz environment. Geometry.
void SetDataPhiTheta(const TPZFMatrix< REAL > &phitheta)
static void InsertExampleElement(TPZGeoMesh &gmesh, int matid, TPZVec< REAL > &lowercorner, TPZVec< REAL > &size)
Groups all classes which model the geometry.
Implements an interface to register a class id and a restore function. Persistence.