Nektar++
|
#include <NekPoint.hpp>
Public Types | |
typedef data_type | DataType |
typedef ThreeD | dim |
Public Member Functions | |
NekPoint () | |
NekPoint (const std::string &pointValues) | |
NekPoint (typename boost::call_traits< DataType >::param_type x, typename boost::call_traits< DataType >::param_type y, typename boost::call_traits< DataType >::param_type z) | |
NekPoint (typename boost::call_traits< DataType >::const_reference a) | |
NekPoint (const NekPoint< DataType > &rhs) | |
~NekPoint () | |
NekPoint< DataType > & | operator= (const NekPoint< DataType > &rhs) |
boost::call_traits< DataType > ::reference | operator() (unsigned int i) |
Returns i^{th} element. More... | |
boost::call_traits< DataType > ::const_reference | operator() (unsigned int i) const |
boost::call_traits< DataType > ::reference | operator[] (unsigned int i) |
boost::call_traits< DataType > ::const_reference | operator[] (unsigned int i) const |
boost::call_traits< DataType > ::const_reference | x () const |
boost::call_traits< DataType > ::const_reference | y () const |
boost::call_traits< DataType > ::const_reference | z () const |
boost::call_traits< DataType > ::const_reference | a () const |
boost::call_traits< DataType > ::const_reference | b () const |
boost::call_traits< DataType > ::const_reference | c () const |
boost::call_traits< DataType > ::const_reference | r () const |
boost::call_traits< DataType > ::const_reference | s () const |
boost::call_traits< DataType > ::const_reference | t () const |
void | SetX (typename boost::call_traits< DataType >::const_reference val) |
void | SetY (typename boost::call_traits< DataType >::const_reference val) |
void | SetZ (typename boost::call_traits< DataType >::const_reference val) |
boost::call_traits< DataType > ::reference | x () |
boost::call_traits< DataType > ::reference | y () |
boost::call_traits< DataType > ::reference | z () |
const DataType * | GetPtr () const |
bool | operator== (const NekPoint< DataType > &rhs) const |
bool | operator!= (const NekPoint< DataType > &rhs) const |
void | negate () |
Arithmetic Routines. More... | |
NekPoint< DataType > | operator- () const |
NekPoint< DataType > & | operator+= (const NekPoint< DataType > &rhs) |
NekPoint< DataType > & | operator+= (typename boost::call_traits< DataType >::param_type rhs) |
NekPoint< DataType > & | operator-= (const NekPoint< DataType > &rhs) |
NekPoint< DataType > & | operator-= (typename boost::call_traits< DataType >::param_type rhs) |
NekPoint< DataType > & | operator*= (typename boost::call_traits< DataType >::param_type rhs) |
NekPoint< DataType > & | operator/= (typename boost::call_traits< DataType >::param_type rhs) |
std::string | AsString () const |
Static Public Member Functions | |
static unsigned int | dimension () |
Returns the number of dimensions for the point. More... | |
Private Attributes | |
DataType | m_data [dim::Value] |
Definition at line 61 of file NekPoint.hpp.
typedef data_type Nektar::NekPoint< data_type >::DataType |
Definition at line 64 of file NekPoint.hpp.
typedef ThreeD Nektar::NekPoint< data_type >::dim |
Definition at line 65 of file NekPoint.hpp.
|
inline |
Definition at line 68 of file NekPoint.hpp.
|
inline |
Definition at line 82 of file NekPoint.hpp.
|
inline |
Definition at line 88 of file NekPoint.hpp.
|
inlineexplicit |
Definition at line 97 of file NekPoint.hpp.
|
inline |
Definition at line 108 of file NekPoint.hpp.
|
inline |
Definition at line 116 of file NekPoint.hpp.
|
inline |
Definition at line 182 of file NekPoint.hpp.
Referenced by Nektar::NekPoint< NekDouble >::NekPoint().
|
inline |
|
inline |
Definition at line 188 of file NekPoint.hpp.
|
inline |
Definition at line 194 of file NekPoint.hpp.
|
inlinestatic |
|
inline |
Definition at line 254 of file NekPoint.hpp.
|
inline |
Arithmetic Routines.
Definition at line 281 of file NekPoint.hpp.
Referenced by Nektar::negate(), and Nektar::NekPoint< NekDouble >::operator-().
|
inline |
Definition at line 273 of file NekPoint.hpp.
|
inline |
Returns i^{th} element.
i | The element to return. |
Retrieves the i^{th} element. Since it returns a reference you may assign a new value (i.e., p(2) = 3.2;)
This operator performs range checking.
Definition at line 142 of file NekPoint.hpp.
|
inline |
Definition at line 148 of file NekPoint.hpp.
|
inline |
Definition at line 334 of file NekPoint.hpp.
|
inline |
Definition at line 297 of file NekPoint.hpp.
|
inline |
Definition at line 306 of file NekPoint.hpp.
|
inline |
Definition at line 289 of file NekPoint.hpp.
|
inline |
Definition at line 315 of file NekPoint.hpp.
|
inline |
Definition at line 325 of file NekPoint.hpp.
|
inline |
Definition at line 343 of file NekPoint.hpp.
|
inline |
Definition at line 121 of file NekPoint.hpp.
|
inline |
Definition at line 259 of file NekPoint.hpp.
|
inline |
Definition at line 154 of file NekPoint.hpp.
|
inline |
Definition at line 159 of file NekPoint.hpp.
|
inline |
Definition at line 200 of file NekPoint.hpp.
|
inline |
Definition at line 206 of file NekPoint.hpp.
|
inline |
Definition at line 218 of file NekPoint.hpp.
Referenced by Nektar::MultiRegions::ExpList::GetExpIndex().
|
inline |
Definition at line 224 of file NekPoint.hpp.
Referenced by Nektar::MultiRegions::ExpList::GetExpIndex().
|
inline |
Definition at line 230 of file NekPoint.hpp.
Referenced by Nektar::MultiRegions::ExpList::GetExpIndex().
|
inline |
Definition at line 212 of file NekPoint.hpp.
|
inline |
Definition at line 164 of file NekPoint.hpp.
Referenced by Nektar::SpatialDomains::PointGeom::dist(), Nektar::SpatialDomains::PointGeom::dot(), and Nektar::NekPoint< NekDouble >::NekPoint().
|
inline |
Definition at line 236 of file NekPoint.hpp.
|
inline |
Definition at line 170 of file NekPoint.hpp.
Referenced by Nektar::SpatialDomains::PointGeom::dist(), Nektar::SpatialDomains::PointGeom::dot(), and Nektar::NekPoint< NekDouble >::NekPoint().
|
inline |
Definition at line 242 of file NekPoint.hpp.
|
inline |
Definition at line 176 of file NekPoint.hpp.
Referenced by Nektar::SpatialDomains::PointGeom::dist(), Nektar::SpatialDomains::PointGeom::dot(), and Nektar::NekPoint< NekDouble >::NekPoint().
|
inline |
Definition at line 248 of file NekPoint.hpp.
|
private |
Definition at line 368 of file NekPoint.hpp.
Referenced by Nektar::NekPoint< NekDouble >::a(), Nektar::NekPoint< NekDouble >::AsString(), Nektar::NekPoint< NekDouble >::GetPtr(), Nektar::NekPoint< NekDouble >::NekPoint(), Nektar::NekPoint< NekDouble >::operator()(), Nektar::NekPoint< NekDouble >::operator*=(), Nektar::NekPoint< NekDouble >::operator+=(), Nektar::NekPoint< NekDouble >::operator-=(), Nektar::NekPoint< NekDouble >::operator/=(), Nektar::NekPoint< NekDouble >::operator=(), Nektar::NekPoint< NekDouble >::operator==(), Nektar::NekPoint< NekDouble >::operator[](), Nektar::NekPoint< NekDouble >::r(), Nektar::NekPoint< NekDouble >::SetX(), Nektar::NekPoint< NekDouble >::SetY(), Nektar::NekPoint< NekDouble >::SetZ(), and Nektar::NekPoint< NekDouble >::x().