Loading src/TNL/Functions/Analytic/SinBumps.h +2 −2 Original line number Diff line number Diff line Loading @@ -23,13 +23,13 @@ namespace Functions { namespace Analytic { template< typename Point > class SinBumpsBase : public Domain< Point::size, SpaceDomain > class SinBumpsBase : public Domain< Point::getSize(), SpaceDomain > { public: typedef Point PointType; typedef typename Point::RealType RealType; enum { Dimension = PointType::size }; enum { Dimension = PointType::getSize() }; void setWaveLength( const PointType& waveLength ); Loading src/TNL/Functions/Analytic/SinBumpsSDF.h +2 −2 Original line number Diff line number Diff line Loading @@ -20,13 +20,13 @@ namespace TNL { template< typename Point > class SinBumpsSDFBase : public Domain< Point::size, SpaceDomain > class SinBumpsSDFBase : public Domain< Point::getSize(), SpaceDomain > { public: typedef Point PointType; typedef typename Point::RealType RealType; enum { Dimensions = PointType::size }; enum { Dimensions = PointType::getSize() }; void setWaveLength( const PointType& waveLength ); Loading src/TNL/Meshes/Writers/VTKWriter_impl.h +3 −3 Original line number Diff line number Diff line Loading @@ -455,13 +455,13 @@ VTKWriter< Mesh >::writePoints( const Mesh& mesh, std::ostream& str ) for( Index i = 0; i < verticesCount; i++ ) { const auto& vertex = mesh.template getEntity< typename Mesh::Vertex >( i ); const auto& point = vertex.getPoint(); for( Index j = 0; j < point.size; j++ ) { for( Index j = 0; j < point.getSize(); j++ ) { str << point[ j ]; if( j < point.size - 1 ) if( j < point.getSize() - 1 ) str << " "; } // VTK needs zeros for unused dimensions for( Index j = 0; j < 3 - point.size; j++ ) for( Index j = 0; j < 3 - point.getSize(); j++ ) str << " 0"; str << "\n"; } Loading Loading
src/TNL/Functions/Analytic/SinBumps.h +2 −2 Original line number Diff line number Diff line Loading @@ -23,13 +23,13 @@ namespace Functions { namespace Analytic { template< typename Point > class SinBumpsBase : public Domain< Point::size, SpaceDomain > class SinBumpsBase : public Domain< Point::getSize(), SpaceDomain > { public: typedef Point PointType; typedef typename Point::RealType RealType; enum { Dimension = PointType::size }; enum { Dimension = PointType::getSize() }; void setWaveLength( const PointType& waveLength ); Loading
src/TNL/Functions/Analytic/SinBumpsSDF.h +2 −2 Original line number Diff line number Diff line Loading @@ -20,13 +20,13 @@ namespace TNL { template< typename Point > class SinBumpsSDFBase : public Domain< Point::size, SpaceDomain > class SinBumpsSDFBase : public Domain< Point::getSize(), SpaceDomain > { public: typedef Point PointType; typedef typename Point::RealType RealType; enum { Dimensions = PointType::size }; enum { Dimensions = PointType::getSize() }; void setWaveLength( const PointType& waveLength ); Loading
src/TNL/Meshes/Writers/VTKWriter_impl.h +3 −3 Original line number Diff line number Diff line Loading @@ -455,13 +455,13 @@ VTKWriter< Mesh >::writePoints( const Mesh& mesh, std::ostream& str ) for( Index i = 0; i < verticesCount; i++ ) { const auto& vertex = mesh.template getEntity< typename Mesh::Vertex >( i ); const auto& point = vertex.getPoint(); for( Index j = 0; j < point.size; j++ ) { for( Index j = 0; j < point.getSize(); j++ ) { str << point[ j ]; if( j < point.size - 1 ) if( j < point.getSize() - 1 ) str << " "; } // VTK needs zeros for unused dimensions for( Index j = 0; j < 3 - point.size; j++ ) for( Index j = 0; j < 3 - point.getSize(); j++ ) str << " 0"; str << "\n"; } Loading