91 static std::string
TypeName() {
return "Point";}
119 for (
int i=0;i<coord.
Rows();i++){
120 result[i] = coord.
GetVal(i,0);
Auxiliar structure to accellerate computations.
TPZGeoPoint()
Empty constructor.
TPZGeoPoint(const TPZGeoPoint &cp, TPZGeoMesh &)
Copy constructor with given mesh.
static void InsertExampleElement(TPZGeoMesh &gmesh, int matid, TPZVec< REAL > &lowercorner, TPZVec< REAL > &size)
create an example element based on the topology
TPZGeoPoint(const TPZGeoPoint &cp)
Copy constructor.
static bool IsLinearMapping(int side)
Defines the topology of a point. Topology It has a one side (the same element).
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
Contains the TPZPoint class which defines the topology of a point.
static void GradX(const TPZFMatrix< REAL > &nodes, TPZVec< T > &loc, TPZFMatrix< T > &gradx)
Defines enum MElementType and contains the implementation of MElementType_NNodes(...) functions.
This class implements a simple vector storage scheme for a templated class T. Utility.
TPZPoint()
Default constructor.
Groups all classes defining the structure of the master element.
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
int64_t Rows() const
Returns number of rows.
Contains the TPZNodeRep class which implements ... Clase intermediaria que guarda.
static void X(const TPZFMatrix< REAL > &nodes, TPZVec< T > &loc, TPZVec< T > &result)
void Read(TPZStream &buf, void *context) override
read objects from the stream
TPZGeoPoint(TPZVec< int64_t > &nodeindexes)
Constructor with list of nodes.
Implements ... Geometry Topology.
Contains TPZMatrix<TVar>class, root matrix class.
Implements the geometry of a point element. Geometry.
This class implements a geometric mesh for the pz environment. Geometry.
TPZGeoPoint(const TPZGeoPoint &cp, std::map< int64_t, int64_t > &gl2lcNdMap)
Constructor with node map.
Contains the implementation of the TPZNodeRep methods.
int ClassId() const override
Define the class id associated with the class.
int Resize(const int64_t newRows, const int64_t wCols) override
Redimension a matrix, but maintain your elements.
Defines the interface for saving and reading data. Persistency.
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
Groups all classes which model the geometry.
const TVar & GetVal(const int64_t row, const int64_t col) const override
Get values without bounds checking This method is faster than "Get" if DEBUG is defined.
static std::string TypeName()
Returns the type name of the element.