Loading src/TNL/Meshes/DummyMesh.h +0 −22 Original line number Diff line number Diff line Loading @@ -29,19 +29,6 @@ public: constexpr static int getMeshDimension() { return 1; } const Real& getParametricStep(){ return 0.0; } String getSerializationType() const { return String( "DummyMesh" ); } template< typename GridFunction > typename GridFunction::RealType getDifferenceAbsMax( const GridFunction& f1, const GridFunction& f2 ) const { return 0.0; } template< typename GridFunction > typename GridFunction::RealType getDifferenceLpNorm( const GridFunction& f1, const GridFunction& f2, const typename GridFunction::RealType& p ) const { return 0.0; } void save( File& file ) const {} void load( File& file ) {} Loading @@ -49,15 +36,6 @@ public: void save( const String& fileName ) const {} void load( const String& fileName ) {} bool writeMesh( const String& fileName, const String& format ) const { return true; } template< typename MeshFunction > bool write( const MeshFunction& function, const String& fileName, const String& format ) const { return true; } }; } // namespace Meshes Loading src/Tools/tnl-diff.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ #include "tnl-diff.h" #include <TNL/Config/parseCommandLine.h> #include <TNL/Meshes/DummyMesh.h> #include <TNL/Meshes/Grid.h> void setupConfig( Config::ConfigDescription& config ) Loading Loading @@ -41,12 +40,6 @@ int main( int argc, char* argv[] ) return EXIT_FAILURE; String meshFile = parameters.getParameter< String >( "mesh" ); /*if( meshFile == "" ) { if( ! processFiles< DummyMesh< double, Devices::Host, int > >( parameters ) ) return EXIT_FAILURE; return EXIT_SUCCESS; }*/ const String meshType = getObjectType( meshFile ); std::cout << meshType << " detected in " << meshFile << " file." << std::endl; const std::vector< String > parsedMeshType = parseObjectType( meshType ); Loading src/Tools/tnl-init.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ #include <TNL/File.h> #include <TNL/Config/parseCommandLine.h> #include <TNL/Functions/TestFunction.h> #include <TNL/Meshes/DummyMesh.h> #include <TNL/Meshes/Grid.h> #include <TNL/Communicators/MpiCommunicator.h> Loading src/Tools/tnl-view.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ #include <cstdlib> #include <TNL/File.h> #include <TNL/Config/parseCommandLine.h> #include <TNL/Meshes/DummyMesh.h> #include <TNL/Meshes/Grid.h> #include <TNL/Meshes/TypeResolver/TypeResolver.h> Loading Loading
src/TNL/Meshes/DummyMesh.h +0 −22 Original line number Diff line number Diff line Loading @@ -29,19 +29,6 @@ public: constexpr static int getMeshDimension() { return 1; } const Real& getParametricStep(){ return 0.0; } String getSerializationType() const { return String( "DummyMesh" ); } template< typename GridFunction > typename GridFunction::RealType getDifferenceAbsMax( const GridFunction& f1, const GridFunction& f2 ) const { return 0.0; } template< typename GridFunction > typename GridFunction::RealType getDifferenceLpNorm( const GridFunction& f1, const GridFunction& f2, const typename GridFunction::RealType& p ) const { return 0.0; } void save( File& file ) const {} void load( File& file ) {} Loading @@ -49,15 +36,6 @@ public: void save( const String& fileName ) const {} void load( const String& fileName ) {} bool writeMesh( const String& fileName, const String& format ) const { return true; } template< typename MeshFunction > bool write( const MeshFunction& function, const String& fileName, const String& format ) const { return true; } }; } // namespace Meshes Loading
src/Tools/tnl-diff.cpp +0 −7 Original line number Diff line number Diff line Loading @@ -10,7 +10,6 @@ #include "tnl-diff.h" #include <TNL/Config/parseCommandLine.h> #include <TNL/Meshes/DummyMesh.h> #include <TNL/Meshes/Grid.h> void setupConfig( Config::ConfigDescription& config ) Loading Loading @@ -41,12 +40,6 @@ int main( int argc, char* argv[] ) return EXIT_FAILURE; String meshFile = parameters.getParameter< String >( "mesh" ); /*if( meshFile == "" ) { if( ! processFiles< DummyMesh< double, Devices::Host, int > >( parameters ) ) return EXIT_FAILURE; return EXIT_SUCCESS; }*/ const String meshType = getObjectType( meshFile ); std::cout << meshType << " detected in " << meshFile << " file." << std::endl; const std::vector< String > parsedMeshType = parseObjectType( meshType ); Loading
src/Tools/tnl-init.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ #include <TNL/File.h> #include <TNL/Config/parseCommandLine.h> #include <TNL/Functions/TestFunction.h> #include <TNL/Meshes/DummyMesh.h> #include <TNL/Meshes/Grid.h> #include <TNL/Communicators/MpiCommunicator.h> Loading
src/Tools/tnl-view.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,6 @@ #include <cstdlib> #include <TNL/File.h> #include <TNL/Config/parseCommandLine.h> #include <TNL/Meshes/DummyMesh.h> #include <TNL/Meshes/Grid.h> #include <TNL/Meshes/TypeResolver/TypeResolver.h> Loading