36 #ifndef NEKTAR_SPATIALDOMAINS_POINTGEOM_H
37 #define NEKTAR_SPATIALDOMAINS_POINTGEOM_H
44 #include <boost/enable_shared_from_this.hpp>
48 namespace SpatialDomains
61 public boost::enable_shared_from_this<PointGeom>
113 virtual PointGeomSharedPtr
v_GetVertex(
int i)
const;
128 #endif //NEKTAR_SPATIALDOMAINS_POINTGEOM_H
virtual NekDouble v_GetLocCoords(const Array< OneD, const NekDouble > &coords, Array< OneD, NekDouble > &Lcoords)
boost::call_traits< DataType >::const_reference y() const
void Add(PointGeom &a, PointGeom &b)
virtual int v_GetVid(int id) const
std::vector< PointGeomSharedPtr > PointGeomVector
void GetCoords(NekDouble &x, NekDouble &y, NekDouble &z)
NekDouble dot(PointGeom &a)
void UpdatePosition(NekDouble x, NekDouble y, NekDouble z)
void Sub(PointGeom &a, PointGeom &b)
std::set< PointGeomSharedPtr > PointGeomSet
void SetVid(const int vid)
boost::call_traits< DataType >::const_reference a() const
friend bool operator==(const PointGeom &x, const PointGeom &y)
Determine equivalence by the ids. No matter what the position, if the ids are the same...
std::map< int, PointGeomSharedPtr > PointGeomMap
virtual NekDouble v_GetCoord(const int i, const Array< OneD, const NekDouble > &Lcoord)
int NumElmtConnected() const
boost::call_traits< DataType >::const_reference z() const
boost::call_traits< DataType >::const_reference x() const
boost::call_traits< DataType >::const_reference b() const
friend bool operator!=(const PointGeom &x, const PointGeom &y)
std::vector< PointGeomSharedPtr >::iterator PointGeomVectorIter
std::list< CompToElmt > m_elmtMap
void Mult(PointGeom &a, PointGeom &b)
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs typedef NekMatrix< LhsDataType, StandardMatrixTag >::iterator iterator
bool IsElmtConnected(int gvo_id, int locid) const
static StdRegions::Orientation GetPointOrientation(const SegGeom &edge1, const SegGeom &edge2)
Get the orientation of point1; to be used later for normal convention.
NekDouble dist(PointGeom &a)
void AddElmtConnected(int gvo_id, int locid)
virtual PointGeomSharedPtr v_GetVertex(int i) const
boost::shared_ptr< PointGeom > PointGeomSharedPtr
#define SPATIAL_DOMAINS_EXPORT
virtual void v_GenGeomFactors()