Harmless warnings
This commit is contained in:
parent
9ad184f9a8
commit
9bf6092465
|
@ -45,12 +45,12 @@ All the Components that can be added to a tetra should be defined in the namespa
|
||||||
template <class T> class EmptyCore : public T {
|
template <class T> class EmptyCore : public T {
|
||||||
public:
|
public:
|
||||||
//Empty vertexref
|
//Empty vertexref
|
||||||
inline typename T::VertexType * & V( const int j ) { assert(0); static typename T::VertexType *vp=0; return vp; }
|
inline typename T::VertexType * & V( const int ) { assert(0); static typename T::VertexType *vp=0; return vp; }
|
||||||
inline typename T::VertexType * const & V( const int j ) const { assert(0); static typename T::VertexType *vp=0; return vp; }
|
inline typename T::VertexType * const & V( const int ) const { assert(0); static typename T::VertexType *vp=0; return vp; }
|
||||||
inline typename T::VertexType * const cV( const int j ) const { assert(0); static typename T::VertexType *vp=0; return vp; }
|
inline typename T::VertexType * const cV( const int ) const { assert(0); static typename T::VertexType *vp=0; return vp; }
|
||||||
inline typename T::CoordType & P( const int j ) { assert(0); static typename T::CoordType coord(0, 0, 0); return coord; }
|
inline typename T::CoordType & P( const int ) { assert(0); static typename T::CoordType coord(0, 0, 0); return coord; }
|
||||||
inline const typename T::CoordType & P( const int j ) const { assert(0); static typename T::CoordType coord(0, 0, 0); return coord; }
|
inline const typename T::CoordType & P( const int ) const { assert(0); static typename T::CoordType coord(0, 0, 0); return coord; }
|
||||||
inline const typename T::CoordType &cP( const int j ) const { assert(0); static typename T::CoordType coord(0, 0, 0); return coord; }
|
inline const typename T::CoordType &cP( const int ) const { assert(0); static typename T::CoordType coord(0, 0, 0); return coord; }
|
||||||
|
|
||||||
static bool HasVertexRef() { return false; }
|
static bool HasVertexRef() { return false; }
|
||||||
static bool HasTVAdjacency() { return false; }
|
static bool HasTVAdjacency() { return false; }
|
||||||
|
@ -109,10 +109,10 @@ public:
|
||||||
typename T::TetraPointer & TTp ( const int ) { static typename T::TetraPointer tp=0; assert(0); return tp; }
|
typename T::TetraPointer & TTp ( const int ) { static typename T::TetraPointer tp=0; assert(0); return tp; }
|
||||||
typename T::TetraPointer const cTTp( const int ) const { static typename T::TetraPointer const tp=0; assert(0); return tp; }
|
typename T::TetraPointer const cTTp( const int ) const { static typename T::TetraPointer const tp=0; assert(0); return tp; }
|
||||||
|
|
||||||
char & VTi( const int j ) { static char z=0; assert(0); return z; }
|
char & VTi( const int ) { static char z=0; assert(0); return z; }
|
||||||
char cVTi( const int j ) const { static char z=0; assert(0); return z; }
|
char cVTi( const int ) const { static char z=0; assert(0); return z; }
|
||||||
char & TTi( const int j ) { static char z=0; assert(0); return z; }
|
char & TTi( const int ) { static char z=0; assert(0); return z; }
|
||||||
char cTTi( const int j ) const { static char z=0; assert(0); return z; }
|
char cTTi( const int ) const { static char z=0; assert(0); return z; }
|
||||||
|
|
||||||
bool IsVTInitialized(const int j) const {return static_cast<const typename T::TetraType *>(this)->cVTi(j)!=-1;}
|
bool IsVTInitialized(const int j) const {return static_cast<const typename T::TetraType *>(this)->cVTi(j)!=-1;}
|
||||||
void VTClear(int j) {
|
void VTClear(int j) {
|
||||||
|
@ -178,7 +178,7 @@ public:
|
||||||
inline typename T::VertexType * & V( const int j ) { assert(j>=0 && j<4); return v[j]; }
|
inline typename T::VertexType * & V( const int j ) { assert(j>=0 && j<4); return v[j]; }
|
||||||
inline typename T::VertexType * const cV( const int j ) const { assert(j>=0 && j<4); return v[j]; }
|
inline typename T::VertexType * const cV( const int j ) const { assert(j>=0 && j<4); return v[j]; }
|
||||||
|
|
||||||
inline size_t const cFtoVi (const int f, const int j) const { assert(f >= 0 && f < 4); assert(j >= 0 && j < 3); return findices[f][j]; }
|
inline size_t cFtoVi (const int f, const int j) const { assert(f >= 0 && f < 4); assert(j >= 0 && j < 3); return findices[f][j]; }
|
||||||
|
|
||||||
// Shortcut for tetra points
|
// Shortcut for tetra points
|
||||||
inline CoordType & P( const int j ) { assert(j>=0 && j<4); return v[j]->P(); }
|
inline CoordType & P( const int j ) { assert(j>=0 && j<4); return v[j]->P(); }
|
||||||
|
|
Loading…
Reference in New Issue