Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tnl-dev
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
24
Issues
24
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
TNL
tnl-dev
Commits
5910a5e8
Commit
5910a5e8
authored
Aug 21, 2019
by
Jakub Klinkovský
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reimplemented getType() function using typeid operator and removed useless getType() methods
Fixes
#46
parent
203ee514
Changes
309
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
309 changed files
with
468 additions
and
3652 deletions
+468
-3652
Documentation/Examples/ObjectExample_getType.cpp
Documentation/Examples/ObjectExample_getType.cpp
+7
-20
src/Benchmarks/BLAS/spmv.h
src/Benchmarks/BLAS/spmv.h
+1
-1
src/Benchmarks/HeatEquation/BenchmarkLaplace.h
src/Benchmarks/HeatEquation/BenchmarkLaplace.h
+0
-6
src/Benchmarks/HeatEquation/BenchmarkLaplace_impl.h
src/Benchmarks/HeatEquation/BenchmarkLaplace_impl.h
+0
-45
src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem.h
src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem.h
+0
-2
src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h
...nchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h
+0
-12
src/Benchmarks/HeatEquation/tnlTestGrid2D.h
src/Benchmarks/HeatEquation/tnlTestGrid2D.h
+8
-48
src/Benchmarks/ODESolvers/Euler.h
src/Benchmarks/ODESolvers/Euler.h
+0
-2
src/Benchmarks/ODESolvers/Euler.hpp
src/Benchmarks/ODESolvers/Euler.hpp
+0
-8
src/Benchmarks/ODESolvers/Merson.h
src/Benchmarks/ODESolvers/Merson.h
+0
-2
src/Benchmarks/ODESolvers/Merson.hpp
src/Benchmarks/ODESolvers/Merson.hpp
+0
-8
src/Examples/flow-sw/LaxFridrichsContinuity.h
src/Examples/flow-sw/LaxFridrichsContinuity.h
+0
-8
src/Examples/flow-sw/LaxFridrichsEnergy.h
src/Examples/flow-sw/LaxFridrichsEnergy.h
+0
-8
src/Examples/flow-sw/LaxFridrichsMomentumX.h
src/Examples/flow-sw/LaxFridrichsMomentumX.h
+0
-25
src/Examples/flow-sw/LaxFridrichsMomentumY.h
src/Examples/flow-sw/LaxFridrichsMomentumY.h
+0
-25
src/Examples/flow-sw/LaxFridrichsMomentumZ.h
src/Examples/flow-sw/LaxFridrichsMomentumZ.h
+0
-25
src/Examples/flow-sw/UpwindContinuity.h
src/Examples/flow-sw/UpwindContinuity.h
+0
-8
src/Examples/flow-sw/UpwindEnergy.h
src/Examples/flow-sw/UpwindEnergy.h
+0
-8
src/Examples/flow-sw/UpwindMomentumX.h
src/Examples/flow-sw/UpwindMomentumX.h
+0
-25
src/Examples/flow-sw/UpwindMomentumY.h
src/Examples/flow-sw/UpwindMomentumY.h
+0
-25
src/Examples/flow-sw/UpwindMomentumZ.h
src/Examples/flow-sw/UpwindMomentumZ.h
+0
-25
src/Examples/flow-sw/navierStokesProblem.h
src/Examples/flow-sw/navierStokesProblem.h
+0
-2
src/Examples/flow-sw/navierStokesProblem_impl.h
src/Examples/flow-sw/navierStokesProblem_impl.h
+0
-12
src/Examples/flow-vl/LaxFridrichsContinuity.h
src/Examples/flow-vl/LaxFridrichsContinuity.h
+0
-8
src/Examples/flow-vl/LaxFridrichsEnergy.h
src/Examples/flow-vl/LaxFridrichsEnergy.h
+0
-8
src/Examples/flow-vl/LaxFridrichsMomentumX.h
src/Examples/flow-vl/LaxFridrichsMomentumX.h
+0
-25
src/Examples/flow-vl/LaxFridrichsMomentumY.h
src/Examples/flow-vl/LaxFridrichsMomentumY.h
+0
-25
src/Examples/flow-vl/LaxFridrichsMomentumZ.h
src/Examples/flow-vl/LaxFridrichsMomentumZ.h
+0
-25
src/Examples/flow-vl/UpwindContinuity.h
src/Examples/flow-vl/UpwindContinuity.h
+0
-8
src/Examples/flow-vl/UpwindEnergy.h
src/Examples/flow-vl/UpwindEnergy.h
+0
-8
src/Examples/flow-vl/UpwindMomentumX.h
src/Examples/flow-vl/UpwindMomentumX.h
+0
-25
src/Examples/flow-vl/UpwindMomentumY.h
src/Examples/flow-vl/UpwindMomentumY.h
+0
-25
src/Examples/flow-vl/UpwindMomentumZ.h
src/Examples/flow-vl/UpwindMomentumZ.h
+0
-25
src/Examples/flow-vl/navierStokesProblem.h
src/Examples/flow-vl/navierStokesProblem.h
+0
-2
src/Examples/flow-vl/navierStokesProblem_impl.h
src/Examples/flow-vl/navierStokesProblem_impl.h
+0
-12
src/Examples/flow/LaxFridrichsContinuity.h
src/Examples/flow/LaxFridrichsContinuity.h
+0
-8
src/Examples/flow/LaxFridrichsContinuityEuler.h
src/Examples/flow/LaxFridrichsContinuityEuler.h
+0
-8
src/Examples/flow/LaxFridrichsEnergy.h
src/Examples/flow/LaxFridrichsEnergy.h
+0
-8
src/Examples/flow/LaxFridrichsEnergyEuler.h
src/Examples/flow/LaxFridrichsEnergyEuler.h
+0
-8
src/Examples/flow/LaxFridrichsMomentumX.h
src/Examples/flow/LaxFridrichsMomentumX.h
+0
-25
src/Examples/flow/LaxFridrichsMomentumXEuler.h
src/Examples/flow/LaxFridrichsMomentumXEuler.h
+0
-25
src/Examples/flow/LaxFridrichsMomentumY.h
src/Examples/flow/LaxFridrichsMomentumY.h
+0
-25
src/Examples/flow/LaxFridrichsMomentumYEuler.h
src/Examples/flow/LaxFridrichsMomentumYEuler.h
+0
-25
src/Examples/flow/LaxFridrichsMomentumZ.h
src/Examples/flow/LaxFridrichsMomentumZ.h
+0
-25
src/Examples/flow/LaxFridrichsMomentumZEuler.h
src/Examples/flow/LaxFridrichsMomentumZEuler.h
+0
-25
src/Examples/flow/navierStokesProblem.h
src/Examples/flow/navierStokesProblem.h
+0
-2
src/Examples/flow/navierStokesProblem_impl.h
src/Examples/flow/navierStokesProblem_impl.h
+0
-12
src/Examples/inviscid-flow-sw/LaxFridrichsContinuity.h
src/Examples/inviscid-flow-sw/LaxFridrichsContinuity.h
+0
-8
src/Examples/inviscid-flow-sw/LaxFridrichsEnergy.h
src/Examples/inviscid-flow-sw/LaxFridrichsEnergy.h
+0
-8
src/Examples/inviscid-flow-sw/LaxFridrichsMomentumX.h
src/Examples/inviscid-flow-sw/LaxFridrichsMomentumX.h
+0
-25
src/Examples/inviscid-flow-sw/LaxFridrichsMomentumY.h
src/Examples/inviscid-flow-sw/LaxFridrichsMomentumY.h
+0
-25
src/Examples/inviscid-flow-sw/LaxFridrichsMomentumZ.h
src/Examples/inviscid-flow-sw/LaxFridrichsMomentumZ.h
+0
-25
src/Examples/inviscid-flow-sw/UpwindContinuity.h
src/Examples/inviscid-flow-sw/UpwindContinuity.h
+0
-8
src/Examples/inviscid-flow-sw/UpwindEnergy.h
src/Examples/inviscid-flow-sw/UpwindEnergy.h
+0
-8
src/Examples/inviscid-flow-sw/UpwindMomentumX.h
src/Examples/inviscid-flow-sw/UpwindMomentumX.h
+0
-25
src/Examples/inviscid-flow-sw/UpwindMomentumY.h
src/Examples/inviscid-flow-sw/UpwindMomentumY.h
+0
-25
src/Examples/inviscid-flow-sw/UpwindMomentumZ.h
src/Examples/inviscid-flow-sw/UpwindMomentumZ.h
+0
-25
src/Examples/inviscid-flow-sw/eulerProblem.h
src/Examples/inviscid-flow-sw/eulerProblem.h
+0
-2
src/Examples/inviscid-flow-sw/eulerProblem_impl.h
src/Examples/inviscid-flow-sw/eulerProblem_impl.h
+0
-12
src/Examples/inviscid-flow-vl/LaxFridrichsContinuity.h
src/Examples/inviscid-flow-vl/LaxFridrichsContinuity.h
+0
-8
src/Examples/inviscid-flow-vl/LaxFridrichsEnergy.h
src/Examples/inviscid-flow-vl/LaxFridrichsEnergy.h
+0
-8
src/Examples/inviscid-flow-vl/LaxFridrichsMomentumX.h
src/Examples/inviscid-flow-vl/LaxFridrichsMomentumX.h
+0
-25
src/Examples/inviscid-flow-vl/LaxFridrichsMomentumY.h
src/Examples/inviscid-flow-vl/LaxFridrichsMomentumY.h
+0
-25
src/Examples/inviscid-flow-vl/LaxFridrichsMomentumZ.h
src/Examples/inviscid-flow-vl/LaxFridrichsMomentumZ.h
+0
-25
src/Examples/inviscid-flow-vl/UpwindContinuity.h
src/Examples/inviscid-flow-vl/UpwindContinuity.h
+0
-8
src/Examples/inviscid-flow-vl/UpwindEnergy.h
src/Examples/inviscid-flow-vl/UpwindEnergy.h
+0
-8
src/Examples/inviscid-flow-vl/UpwindMomentumX.h
src/Examples/inviscid-flow-vl/UpwindMomentumX.h
+0
-25
src/Examples/inviscid-flow-vl/UpwindMomentumY.h
src/Examples/inviscid-flow-vl/UpwindMomentumY.h
+0
-25
src/Examples/inviscid-flow-vl/UpwindMomentumZ.h
src/Examples/inviscid-flow-vl/UpwindMomentumZ.h
+0
-25
src/Examples/inviscid-flow-vl/eulerProblem.h
src/Examples/inviscid-flow-vl/eulerProblem.h
+0
-2
src/Examples/inviscid-flow-vl/eulerProblem_impl.h
src/Examples/inviscid-flow-vl/eulerProblem_impl.h
+0
-12
src/Examples/inviscid-flow/2d/Euler2DVelXGetter.h
src/Examples/inviscid-flow/2d/Euler2DVelXGetter.h
+0
-2
src/Examples/inviscid-flow/3d/Euler2DVelXGetter.h
src/Examples/inviscid-flow/3d/Euler2DVelXGetter.h
+0
-2
src/Examples/inviscid-flow/3d/EulerPressureGetter.h
src/Examples/inviscid-flow/3d/EulerPressureGetter.h
+0
-2
src/Examples/inviscid-flow/3d/EulerVelGetter.h
src/Examples/inviscid-flow/3d/EulerVelGetter.h
+0
-2
src/Examples/inviscid-flow/3d/LaxFridrichsContinuity_impl .h
src/Examples/inviscid-flow/3d/LaxFridrichsContinuity_impl .h
+0
-45
src/Examples/inviscid-flow/3d/LaxFridrichsEnergy.h
src/Examples/inviscid-flow/3d/LaxFridrichsEnergy.h
+0
-3
src/Examples/inviscid-flow/3d/LaxFridrichsMomentumX.h
src/Examples/inviscid-flow/3d/LaxFridrichsMomentumX.h
+0
-3
src/Examples/inviscid-flow/3d/LaxFridrichsMomentumZ.h
src/Examples/inviscid-flow/3d/LaxFridrichsMomentumZ.h
+0
-3
src/Examples/inviscid-flow/3d/eulerProblem.h
src/Examples/inviscid-flow/3d/eulerProblem.h
+0
-2
src/Examples/inviscid-flow/3d/eulerProblem_impl.h
src/Examples/inviscid-flow/3d/eulerProblem_impl.h
+0
-11
src/Examples/inviscid-flow/LaxFridrichsContinuity.h
src/Examples/inviscid-flow/LaxFridrichsContinuity.h
+0
-8
src/Examples/inviscid-flow/LaxFridrichsEnergy.h
src/Examples/inviscid-flow/LaxFridrichsEnergy.h
+0
-8
src/Examples/inviscid-flow/LaxFridrichsMomentumX.h
src/Examples/inviscid-flow/LaxFridrichsMomentumX.h
+0
-25
src/Examples/inviscid-flow/LaxFridrichsMomentumY.h
src/Examples/inviscid-flow/LaxFridrichsMomentumY.h
+0
-25
src/Examples/inviscid-flow/LaxFridrichsMomentumZ.h
src/Examples/inviscid-flow/LaxFridrichsMomentumZ.h
+0
-25
src/Examples/inviscid-flow/eulerProblem.h
src/Examples/inviscid-flow/eulerProblem.h
+0
-2
src/Examples/inviscid-flow/eulerProblem_impl.h
src/Examples/inviscid-flow/eulerProblem_impl.h
+0
-12
src/Examples/navier-stokes/navierStokesSetter_impl.h
src/Examples/navier-stokes/navierStokesSetter_impl.h
+1
-1
src/Examples/navier-stokes/navierStokesSolver.h
src/Examples/navier-stokes/navierStokesSolver.h
+0
-2
src/Examples/navier-stokes/navierStokesSolver_impl.h
src/Examples/navier-stokes/navierStokesSolver_impl.h
+0
-7
src/Examples/transport-equation/transportEquationProblem.h
src/Examples/transport-equation/transportEquationProblem.h
+0
-2
src/Examples/transport-equation/transportEquationProblemEoc.h
...Examples/transport-equation/transportEquationProblemEoc.h
+0
-2
src/Examples/transport-equation/transportEquationProblemEoc_impl.h
...les/transport-equation/transportEquationProblemEoc_impl.h
+0
-12
src/Examples/transport-equation/transportEquationProblem_impl.h
...amples/transport-equation/transportEquationProblem_impl.h
+0
-12
src/Python/pytnl/tnl/Array.h
src/Python/pytnl/tnl/Array.h
+0
-2
src/Python/pytnl/tnl/Grid.h
src/Python/pytnl/tnl/Grid.h
+0
-2
src/Python/pytnl/tnl/Mesh.h
src/Python/pytnl/tnl/Mesh.h
+0
-2
src/Python/pytnl/tnl/SparseMatrix.h
src/Python/pytnl/tnl/SparseMatrix.h
+0
-2
src/Python/pytnl/tnl/StaticVector.h
src/Python/pytnl/tnl/StaticVector.h
+0
-1
src/Python/pytnl/tnl/String.cpp
src/Python/pytnl/tnl/String.cpp
+0
-1
src/Python/pytnl/tnl/Vector.h
src/Python/pytnl/tnl/Vector.h
+0
-2
src/TNL/Atomic.h
src/TNL/Atomic.h
+0
-17
src/TNL/Config/ConfigDescription.h
src/TNL/Config/ConfigDescription.h
+0
-1
src/TNL/Config/ConfigEntry.h
src/TNL/Config/ConfigEntry.h
+1
-0
src/TNL/Config/ConfigEntryList.h
src/TNL/Config/ConfigEntryList.h
+1
-0
src/TNL/Config/ParameterContainer.h
src/TNL/Config/ParameterContainer.h
+2
-1
src/TNL/Config/parseCommandLine.h
src/TNL/Config/parseCommandLine.h
+0
-1
src/TNL/Containers/Algorithms/ArrayIO.h
src/TNL/Containers/Algorithms/ArrayIO.h
+6
-6
src/TNL/Containers/Array.h
src/TNL/Containers/Array.h
+0
-10
src/TNL/Containers/Array.hpp
src/TNL/Containers/Array.hpp
+1
-26
src/TNL/Containers/ArrayView.h
src/TNL/Containers/ArrayView.h
+0
-5
src/TNL/Containers/ArrayView.hpp
src/TNL/Containers/ArrayView.hpp
+1
-14
src/TNL/Containers/DistributedArray.h
src/TNL/Containers/DistributedArray.h
+0
-7
src/TNL/Containers/DistributedArray.hpp
src/TNL/Containers/DistributedArray.hpp
+0
-27
src/TNL/Containers/DistributedArrayView.h
src/TNL/Containers/DistributedArrayView.h
+0
-3
src/TNL/Containers/DistributedArrayView.hpp
src/TNL/Containers/DistributedArrayView.hpp
+0
-17
src/TNL/Containers/DistributedVector.h
src/TNL/Containers/DistributedVector.h
+0
-5
src/TNL/Containers/DistributedVector.hpp
src/TNL/Containers/DistributedVector.hpp
+0
-28
src/TNL/Containers/DistributedVectorView.h
src/TNL/Containers/DistributedVectorView.h
+0
-2
src/TNL/Containers/DistributedVectorView.hpp
src/TNL/Containers/DistributedVectorView.hpp
+0
-16
src/TNL/Containers/List.h
src/TNL/Containers/List.h
+1
-4
src/TNL/Containers/List_impl.h
src/TNL/Containers/List_impl.h
+0
-6
src/TNL/Containers/Multimaps/EllpackIndexMultimap.h
src/TNL/Containers/Multimaps/EllpackIndexMultimap.h
+0
-4
src/TNL/Containers/Multimaps/EllpackIndexMultimap.hpp
src/TNL/Containers/Multimaps/EllpackIndexMultimap.hpp
+0
-28
src/TNL/Containers/Multimaps/StaticEllpackIndexMultimap.h
src/TNL/Containers/Multimaps/StaticEllpackIndexMultimap.h
+0
-4
src/TNL/Containers/Multimaps/StaticEllpackIndexMultimap.hpp
src/TNL/Containers/Multimaps/StaticEllpackIndexMultimap.hpp
+0
-30
src/TNL/Containers/StaticArray.h
src/TNL/Containers/StaticArray.h
+0
-4
src/TNL/Containers/StaticArray.hpp
src/TNL/Containers/StaticArray.hpp
+1
-11
src/TNL/Containers/StaticVector.h
src/TNL/Containers/StaticVector.h
+0
-5
src/TNL/Containers/StaticVector.hpp
src/TNL/Containers/StaticVector.hpp
+0
-10
src/TNL/Containers/Subrange.h
src/TNL/Containers/Subrange.h
+2
-7
src/TNL/Containers/Vector.h
src/TNL/Containers/Vector.h
+0
-10
src/TNL/Containers/Vector.hpp
src/TNL/Containers/Vector.hpp
+0
-25
src/TNL/Containers/VectorView.h
src/TNL/Containers/VectorView.h
+0
-5
src/TNL/Containers/VectorView.hpp
src/TNL/Containers/VectorView.hpp
+0
-13
src/TNL/Devices/Cuda.h
src/TNL/Devices/Cuda.h
+0
-2
src/TNL/Devices/Cuda_impl.h
src/TNL/Devices/Cuda_impl.h
+0
-5
src/TNL/Devices/Host.h
src/TNL/Devices/Host.h
+0
-5
src/TNL/Experimental/Arithmetics/Quad.h
src/TNL/Experimental/Arithmetics/Quad.h
+0
-2
src/TNL/Experimental/Arithmetics/Quad_impl.h
src/TNL/Experimental/Arithmetics/Quad_impl.h
+0
-8
src/TNL/Functions/Analytic/Blob.h
src/TNL/Functions/Analytic/Blob.h
+0
-6
src/TNL/Functions/Analytic/Blob_impl.h
src/TNL/Functions/Analytic/Blob_impl.h
+0
-21
src/TNL/Functions/Analytic/Cylinder.h
src/TNL/Functions/Analytic/Cylinder.h
+0
-6
src/TNL/Functions/Analytic/Cylinder_impl.h
src/TNL/Functions/Analytic/Cylinder_impl.h
+0
-22
src/TNL/Functions/Analytic/ExpBump.h
src/TNL/Functions/Analytic/ExpBump.h
+0
-7
src/TNL/Functions/Analytic/ExpBump_impl.h
src/TNL/Functions/Analytic/ExpBump_impl.h
+0
-21
src/TNL/Functions/Analytic/Flowerpot.h
src/TNL/Functions/Analytic/Flowerpot.h
+0
-6
src/TNL/Functions/Analytic/Flowerpot_impl.h
src/TNL/Functions/Analytic/Flowerpot_impl.h
+0
-21
src/TNL/Functions/Analytic/PseudoSquare.h
src/TNL/Functions/Analytic/PseudoSquare.h
+0
-6
src/TNL/Functions/Analytic/PseudoSquare_impl.h
src/TNL/Functions/Analytic/PseudoSquare_impl.h
+0
-21
src/TNL/Functions/Analytic/Twins.h
src/TNL/Functions/Analytic/Twins.h
+0
-6
src/TNL/Functions/Analytic/Twins_impl.h
src/TNL/Functions/Analytic/Twins_impl.h
+0
-21
src/TNL/Functions/Analytic/VectorNorm.h
src/TNL/Functions/Analytic/VectorNorm.h
+0
-6
src/TNL/Functions/MeshFunction.h
src/TNL/Functions/MeshFunction.h
+0
-4
src/TNL/Functions/MeshFunction_impl.h
src/TNL/Functions/MeshFunction_impl.h
+4
-28
src/TNL/Functions/VectorField.h
src/TNL/Functions/VectorField.h
+0
-13
src/TNL/Functions/VectorFieldGnuplotWriter_impl.h
src/TNL/Functions/VectorFieldGnuplotWriter_impl.h
+1
-1
src/TNL/Images/DicomSeries.h
src/TNL/Images/DicomSeries.h
+2
-5
src/TNL/Logger.h
src/TNL/Logger.h
+1
-0
src/TNL/Matrices/AdEllpack.h
src/TNL/Matrices/AdEllpack.h
+0
-4
src/TNL/Matrices/AdEllpack_impl.h
src/TNL/Matrices/AdEllpack_impl.h
+1
-21
src/TNL/Matrices/BiEllpack.h
src/TNL/Matrices/BiEllpack.h
+0
-4
src/TNL/Matrices/BiEllpackSymmetric.h
src/TNL/Matrices/BiEllpackSymmetric.h
+0
-4
src/TNL/Matrices/BiEllpackSymmetric_impl.h
src/TNL/Matrices/BiEllpackSymmetric_impl.h
+0
-22
src/TNL/Matrices/BiEllpack_impl.h
src/TNL/Matrices/BiEllpack_impl.h
+0
-22
src/TNL/Matrices/COOMatrix.h
src/TNL/Matrices/COOMatrix.h
+0
-4
src/TNL/Matrices/COOMatrix_impl.h
src/TNL/Matrices/COOMatrix_impl.h
+1
-21
src/TNL/Matrices/CSR.h
src/TNL/Matrices/CSR.h
+0
-4
src/TNL/Matrices/CSR_impl.h
src/TNL/Matrices/CSR_impl.h
+3
-19
src/TNL/Matrices/ChunkedEllpack.h
src/TNL/Matrices/ChunkedEllpack.h
+0
-7
src/TNL/Matrices/ChunkedEllpack_impl.h
src/TNL/Matrices/ChunkedEllpack_impl.h
+5
-21
src/TNL/Matrices/Dense.h
src/TNL/Matrices/Dense.h
+0
-4
src/TNL/Matrices/Dense_impl.h
src/TNL/Matrices/Dense_impl.h
+4
-20
src/TNL/Matrices/DistributedMatrix.h
src/TNL/Matrices/DistributedMatrix.h
+0
-7
src/TNL/Matrices/DistributedMatrix_impl.h
src/TNL/Matrices/DistributedMatrix_impl.h
+0
-22
src/TNL/Matrices/Ellpack.h
src/TNL/Matrices/Ellpack.h
+0
-4
src/TNL/Matrices/EllpackSymmetric.h
src/TNL/Matrices/EllpackSymmetric.h
+0
-4
src/TNL/Matrices/EllpackSymmetricGraph.h
src/TNL/Matrices/EllpackSymmetricGraph.h
+0
-4
src/TNL/Matrices/EllpackSymmetricGraph_impl.h
src/TNL/Matrices/EllpackSymmetricGraph_impl.h
+0
-20
src/TNL/Matrices/EllpackSymmetric_impl.h
src/TNL/Matrices/EllpackSymmetric_impl.h
+0
-20
src/TNL/Matrices/Ellpack_impl.h
src/TNL/Matrices/Ellpack_impl.h
+5
-21
src/TNL/Matrices/Multidiagonal.h
src/TNL/Matrices/Multidiagonal.h
+0
-4
src/TNL/Matrices/Multidiagonal_impl.h
src/TNL/Matrices/Multidiagonal_impl.h
+3
-19
src/TNL/Matrices/SlicedEllpack.h
src/TNL/Matrices/SlicedEllpack.h
+0
-4
src/TNL/Matrices/SlicedEllpackSymmetric.h
src/TNL/Matrices/SlicedEllpackSymmetric.h
+0
-4
src/TNL/Matrices/SlicedEllpackSymmetricGraph.h
src/TNL/Matrices/SlicedEllpackSymmetricGraph.h
+0
-4
src/TNL/Matrices/SlicedEllpackSymmetricGraph_impl.h
src/TNL/Matrices/SlicedEllpackSymmetricGraph_impl.h
+0
-22
src/TNL/Matrices/SlicedEllpackSymmetric_impl.h
src/TNL/Matrices/SlicedEllpackSymmetric_impl.h
+0
-22
src/TNL/Matrices/SlicedEllpack_impl.h
src/TNL/Matrices/SlicedEllpack_impl.h
+5
-23
src/TNL/Matrices/Tridiagonal.h
src/TNL/Matrices/Tridiagonal.h
+0
-4
src/TNL/Matrices/Tridiagonal_impl.h
src/TNL/Matrices/Tridiagonal_impl.h
+4
-20
src/TNL/Meshes/DefaultConfig.h
src/TNL/Meshes/DefaultConfig.h
+1
-12
src/TNL/Meshes/GridDetails/Grid1D.h
src/TNL/Meshes/GridDetails/Grid1D.h
+0
-10
src/TNL/Meshes/GridDetails/Grid1D_impl.h
src/TNL/Meshes/GridDetails/Grid1D_impl.h
+5
-21
src/TNL/Meshes/GridDetails/Grid2D.h
src/TNL/Meshes/GridDetails/Grid2D.h
+0
-10
src/TNL/Meshes/GridDetails/Grid2D_impl.h
src/TNL/Meshes/GridDetails/Grid2D_impl.h
+4
-20
src/TNL/Meshes/GridDetails/Grid3D.h
src/TNL/Meshes/GridDetails/Grid3D.h
+0
-10
src/TNL/Meshes/GridDetails/Grid3D_impl.h
src/TNL/Meshes/GridDetails/Grid3D_impl.h
+4
-20
src/TNL/Meshes/Mesh.h
src/TNL/Meshes/Mesh.h
+0
-4
src/TNL/Meshes/MeshDetails/MeshEntityReferenceOrientation.h
src/TNL/Meshes/MeshDetails/MeshEntityReferenceOrientation.h
+2
-5
src/TNL/Meshes/MeshDetails/MeshEntity_impl.h
src/TNL/Meshes/MeshDetails/MeshEntity_impl.h
+12
-10
src/TNL/Meshes/MeshDetails/Mesh_impl.h
src/TNL/Meshes/MeshDetails/Mesh_impl.h
+1
-17
src/TNL/Meshes/MeshDetails/initializer/EntityInitializer.h
src/TNL/Meshes/MeshDetails/initializer/EntityInitializer.h
+0
-4
src/TNL/Meshes/MeshDetails/initializer/EntitySeed.h
src/TNL/Meshes/MeshDetails/initializer/EntitySeed.h
+0
-4
src/TNL/Meshes/MeshEntity.h
src/TNL/Meshes/MeshEntity.h
+4
-4
src/TNL/Meshes/Topologies/Edge.h
src/TNL/Meshes/Topologies/Edge.h
+1
-6
src/TNL/Meshes/Topologies/Hexahedron.h
src/TNL/Meshes/Topologies/Hexahedron.h
+0
-5
src/TNL/Meshes/Topologies/Quadrilateral.h
src/TNL/Meshes/Topologies/Quadrilateral.h
+0
-5
src/TNL/Meshes/Topologies/Simplex.h
src/TNL/Meshes/Topologies/Simplex.h
+2
-8
src/TNL/Meshes/Topologies/Tetrahedron.h
src/TNL/Meshes/Topologies/Tetrahedron.h
+0
-5
src/TNL/Meshes/Topologies/Triangle.h
src/TNL/Meshes/Topologies/Triangle.h
+0
-5
src/TNL/Meshes/Topologies/Vertex.h
src/TNL/Meshes/Topologies/Vertex.h
+0
-5
src/TNL/Meshes/TypeResolver/MeshTypeResolver_impl.h
src/TNL/Meshes/TypeResolver/MeshTypeResolver_impl.h
+2
-2
src/TNL/Meshes/TypeResolver/TypeResolver_impl.h
src/TNL/Meshes/TypeResolver/TypeResolver_impl.h
+1
-1
src/TNL/Object.h
src/TNL/Object.h
+1
-26
src/TNL/Object.hpp
src/TNL/Object.hpp
+0
-10
src/TNL/Operators/Advection/LaxFridrichs.h
src/TNL/Operators/Advection/LaxFridrichs.h
+0
-6
src/TNL/Operators/Advection/Upwind.h
src/TNL/Operators/Advection/Upwind.h
+0
-6
src/TNL/Operators/ExactFunctionInverseOperator.h
src/TNL/Operators/ExactFunctionInverseOperator.h
+0
-6
src/TNL/Operators/ExactIdentityOperator.h
src/TNL/Operators/ExactIdentityOperator.h
+0
-6
src/TNL/Operators/FunctionInverseOperator.h
src/TNL/Operators/FunctionInverseOperator.h
+0
-5
src/TNL/Operators/diffusion/ExactLinearDiffusion.h
src/TNL/Operators/diffusion/ExactLinearDiffusion.h
+0
-6
src/TNL/Operators/diffusion/ExactLinearDiffusion_impl.h
src/TNL/Operators/diffusion/ExactLinearDiffusion_impl.h
+0
-21
src/TNL/Operators/diffusion/ExactMeanCurvature.h
src/TNL/Operators/diffusion/ExactMeanCurvature.h
+0
-7
src/TNL/Operators/diffusion/ExactNonlinearDiffusion.h
src/TNL/Operators/diffusion/ExactNonlinearDiffusion.h
+0
-15
src/TNL/Operators/diffusion/FiniteVolumeNonlinearOperator.h
src/TNL/Operators/diffusion/FiniteVolumeNonlinearOperator.h
+0
-6
src/TNL/Operators/diffusion/FiniteVolumeNonlinearOperator_impl.h
.../Operators/diffusion/FiniteVolumeNonlinearOperator_impl.h
+0
-51
src/TNL/Operators/diffusion/LinearDiffusion.h
src/TNL/Operators/diffusion/LinearDiffusion.h
+0
-6
src/TNL/Operators/diffusion/LinearDiffusion_impl.h
src/TNL/Operators/diffusion/LinearDiffusion_impl.h
+0
-46
src/TNL/Operators/diffusion/NonlinearDiffusion_impl.h
src/TNL/Operators/diffusion/NonlinearDiffusion_impl.h
+0
-51
src/TNL/Operators/diffusion/OneSidedMeanCurvature.h
src/TNL/Operators/diffusion/OneSidedMeanCurvature.h
+0
-8
src/TNL/Operators/diffusion/OneSidedNonlinearDiffusion.h
src/TNL/Operators/diffusion/OneSidedNonlinearDiffusion.h
+0
-27
src/TNL/Operators/euler/fvm/LaxFridrichs.h
src/TNL/Operators/euler/fvm/LaxFridrichs.h
+0
-2
src/TNL/Operators/euler/fvm/LaxFridrichs_impl.h
src/TNL/Operators/euler/fvm/LaxFridrichs_impl.h
+0
-13
src/TNL/Operators/fdm/BackwardFiniteDifference.h
src/TNL/Operators/fdm/BackwardFiniteDifference.h
+0
-11
src/TNL/Operators/fdm/CentralFiniteDifference.h
src/TNL/Operators/fdm/CentralFiniteDifference.h
+0
-12
src/TNL/Operators/fdm/ExactDifference.h
src/TNL/Operators/fdm/ExactDifference.h
+0
-9
src/TNL/Operators/fdm/ForwardFiniteDifference.h
src/TNL/Operators/fdm/ForwardFiniteDifference.h
+0
-12
src/TNL/Operators/geometric/CoFVMGradientNorm.h
src/TNL/Operators/geometric/CoFVMGradientNorm.h
+0
-35
src/TNL/Operators/geometric/ExactGradientNorm.h
src/TNL/Operators/geometric/ExactGradientNorm.h
+0
-15
src/TNL/Operators/geometric/FDMGradientNorm.h
src/TNL/Operators/geometric/FDMGradientNorm.h
+0
-26
src/TNL/Operators/geometric/TwoSidedGradientNorm.h
src/TNL/Operators/geometric/TwoSidedGradientNorm.h
+0
-26
src/TNL/Operators/operator-Q/tnlFiniteVolumeOperatorQ.h
src/TNL/Operators/operator-Q/tnlFiniteVolumeOperatorQ.h
+0
-12
src/TNL/Operators/operator-Q/tnlFiniteVolumeOperatorQ_impl.h
src/TNL/Operators/operator-Q/tnlFiniteVolumeOperatorQ_impl.h
+0
-90
src/TNL/Operators/operator-Q/tnlOneSideDiffOperatorQ.h
src/TNL/Operators/operator-Q/tnlOneSideDiffOperatorQ.h
+0
-6
src/TNL/Operators/operator-Q/tnlOneSideDiffOperatorQ_impl.h
src/TNL/Operators/operator-Q/tnlOneSideDiffOperatorQ_impl.h
+0
-45
src/TNL/Operators/operator-curvature/ExactOperatorCurvature.h
...TNL/Operators/operator-curvature/ExactOperatorCurvature.h
+0
-6
src/TNL/Operators/operator-curvature/ExactOperatorCurvature_impl.h
...perators/operator-curvature/ExactOperatorCurvature_impl.h
+0
-24
src/TNL/Pointers/DevicePointer.h
src/TNL/Pointers/DevicePointer.h
+3
-2
src/TNL/Pointers/SharedPointer.h
src/TNL/Pointers/SharedPointer.h
+2
-20
src/TNL/Pointers/SharedPointerCuda.h
src/TNL/Pointers/SharedPointerCuda.h
+10
-31
src/TNL/Pointers/SharedPointerHost.h
src/TNL/Pointers/SharedPointerHost.h
+2
-2
src/TNL/Pointers/UniquePointer.h
src/TNL/Pointers/UniquePointer.h
+1
-1
src/TNL/Problems/HeatEquationEocProblem.h
src/TNL/Problems/HeatEquationEocProblem.h
+0
-2
src/TNL/Problems/HeatEquationEocProblem_impl.h
src/TNL/Problems/HeatEquationEocProblem_impl.h
+1
-13
src/TNL/Problems/HeatEquationProblem.h
src/TNL/Problems/HeatEquationProblem.h
+0
-2
src/TNL/Problems/HeatEquationProblem_impl.h
src/TNL/Problems/HeatEquationProblem_impl.h
+0
-12
src/TNL/Problems/MeanCurvatureFlowEocProblem.h
src/TNL/Problems/MeanCurvatureFlowEocProblem.h
+0
-2
src/TNL/Problems/MeanCurvatureFlowEocProblem_impl.h
src/TNL/Problems/MeanCurvatureFlowEocProblem_impl.h
+1
-12
src/TNL/Problems/MeanCurvatureFlowProblem.h
src/TNL/Problems/MeanCurvatureFlowProblem.h
+0
-2
src/TNL/Problems/MeanCurvatureFlowProblem_impl.h
src/TNL/Problems/MeanCurvatureFlowProblem_impl.h
+0
-11
src/TNL/Problems/PDEProblem.h
src/TNL/Problems/PDEProblem.h
+0
-2
src/TNL/Problems/PDEProblem_impl.h
src/TNL/Problems/PDEProblem_impl.h
+0
-16
src/TNL/Problems/cfd/navier-stokes/NavierStokesSolver.h
src/TNL/Problems/cfd/navier-stokes/NavierStokesSolver.h
+1
-3
src/TNL/Problems/cfd/navier-stokes/NavierStokesSolver_impl.h
src/TNL/Problems/cfd/navier-stokes/NavierStokesSolver_impl.h
+0
-10
src/TNL/Solvers/Linear/BICGStab.h
src/TNL/Solvers/Linear/BICGStab.h
+0
-2
src/TNL/Solvers/Linear/BICGStabL.h
src/TNL/Solvers/Linear/BICGStabL.h
+0
-2
src/TNL/Solvers/Linear/BICGStabL_impl.h
src/TNL/Solvers/Linear/BICGStabL_impl.h
+0
-10
src/TNL/Solvers/Linear/BICGStab_impl.h
src/TNL/Solvers/Linear/BICGStab_impl.h
+0
-8
src/TNL/Solvers/Linear/CG.h
src/TNL/Solvers/Linear/CG.h
+0
-2
src/TNL/Solvers/Linear/CG_impl.h
src/TNL/Solvers/Linear/CG_impl.h
+0
-8
src/TNL/Solvers/Linear/GMRES.h
src/TNL/Solvers/Linear/GMRES.h
+0
-2
src/TNL/Solvers/Linear/GMRES_impl.h
src/TNL/Solvers/Linear/GMRES_impl.h
+0
-10
src/TNL/Solvers/Linear/Jacobi.h
src/TNL/Solvers/Linear/Jacobi.h
+0
-5
src/TNL/Solvers/Linear/Preconditioners/Diagonal.h
src/TNL/Solvers/Linear/Preconditioners/Diagonal.h
+0
-10
src/TNL/Solvers/Linear/Preconditioners/ILU0.h
src/TNL/Solvers/Linear/Preconditioners/ILU0.h
+1
-7
src/TNL/Solvers/Linear/Preconditioners/ILUT.h
src/TNL/Solvers/Linear/Preconditioners/ILUT.h
+0
-5
src/TNL/Solvers/Linear/Preconditioners/Preconditioner.h
src/TNL/Solvers/Linear/Preconditioners/Preconditioner.h
+0
-5
src/TNL/Solvers/Linear/SOR.h
src/TNL/Solvers/Linear/SOR.h
+0
-2
src/TNL/Solvers/Linear/SOR_impl.h
src/TNL/Solvers/Linear/SOR_impl.h
+0
-8
src/TNL/Solvers/Linear/TFQMR.h
src/TNL/Solvers/Linear/TFQMR.h
+0
-2
src/TNL/Solvers/Linear/TFQMR_impl.h
src/TNL/Solvers/Linear/TFQMR_impl.h
+0
-8
src/TNL/Solvers/Linear/UmfpackWrapper.h
src/TNL/Solvers/Linear/UmfpackWrapper.h
+0
-2
src/TNL/Solvers/ODE/Euler.h
src/TNL/Solvers/ODE/Euler.h
+0
-2
src/TNL/Solvers/ODE/Euler.hpp
src/TNL/Solvers/ODE/Euler.hpp
+0
-8
src/TNL/Solvers/ODE/Merson.h
src/TNL/Solvers/ODE/Merson.h
+0
-2
src/TNL/Solvers/ODE/Merson_impl.h
src/TNL/Solvers/ODE/Merson_impl.h
+0
-8
src/TNL/Solvers/PDE/ExplicitTimeStepper.h
src/TNL/Solvers/PDE/ExplicitTimeStepper.h
+0
-2
src/TNL/Solvers/PDE/ExplicitTimeStepper_impl.h
src/TNL/Solvers/PDE/ExplicitTimeStepper_impl.h
+2
-15
src/TNL/String.h
src/TNL/String.h
+0
-5
src/TNL/String.hpp
src/TNL/String.hpp
+0
-5
src/TNL/TypeInfo.h
src/TNL/TypeInfo.h
+107
-0
src/TNL/TypeTraits.h
src/TNL/TypeTraits.h
+27
-1
src/TNL/param-types.h
src/TNL/param-types.h
+0
-91
src/Tools/tnl-lattice-init.h
src/Tools/tnl-lattice-init.h
+2
-2
src/Tools/tnl-quickstart/operator-grid-specialization.h.in
src/Tools/tnl-quickstart/operator-grid-specialization.h.in
+0
-2
src/Tools/tnl-quickstart/operator-grid-specialization_impl.h.in
...ols/tnl-quickstart/operator-grid-specialization_impl.h.in
+0
-15
src/Tools/tnl-quickstart/problem.h.in
src/Tools/tnl-quickstart/problem.h.in
+0
-2
src/Tools/tnl-quickstart/problem_impl.h.in
src/Tools/tnl-quickstart/problem_impl.h.in
+0
-12
src/Tools/tnl-view.h
src/Tools/tnl-view.h
+2
-2
src/UnitTests/CMakeLists.txt
src/UnitTests/CMakeLists.txt
+5
-0
src/UnitTests/Containers/ArrayTest.h
src/UnitTests/Containers/ArrayTest.h
+0
-5
src/UnitTests/Containers/ArrayViewTest.h
src/UnitTests/Containers/ArrayViewTest.h
+0
-5
src/UnitTests/Containers/ListTest.cpp
src/UnitTests/Containers/ListTest.cpp
+0
-5
src/UnitTests/Meshes/BoundaryTagsTest.h
src/UnitTests/Meshes/BoundaryTagsTest.h
+2
-1
src/UnitTests/Meshes/MeshEntityTest.h
src/UnitTests/Meshes/MeshEntityTest.h
+12
-6
src/UnitTests/Meshes/MeshTest.h
src/UnitTests/Meshes/MeshTest.h
+10
-5
src/UnitTests/TypeInfoTest.cpp
src/UnitTests/TypeInfoTest.cpp
+165
-0
No files found.
Documentation/Examples/ObjectExample_getType.cpp
View file @
5910a5e8
#include <iostream>
#include <TNL/
param-types
.h>
#include <TNL/
TypeInfo
.h>
#include <TNL/Object.h>
#include <TNL/Devices/Host.h>
#include <TNL/Devices/Cuda.h>
...
...
@@ -13,24 +13,12 @@ class MyArray : public Object
{
public:
using
HostType
=
MyArray
<
Value
,
Devices
::
Host
>
;
static
String
getType
()
{
return
"MyArray< "
+
TNL
::
getType
<
Value
>
()
+
", "
+
TNL
::
getType
<
Device
>
()
+
" >"
;
}
String
getTypeVirtual
()
const
{
return
getType
();
}
static
String
getSerializationType
()
{
return
HostType
::
getType
()
;
return
"MyArray< "
+
TNL
::
getType
<
Value
>
()
+
", "
+
getType
<
Devices
::
Host
>
()
+
" >"
;
}
String
getSerializationTypeVirtual
()
const
virtual
String
getSerializationTypeVirtual
()
const
override
{
return
getSerializationType
();
}
...
...
@@ -47,11 +35,11 @@ int main()
Object
*
cudaArrayPtr
=
&
cudaArray
;
// Object types
cout
<<
"HostArray type is "
<<
HostArray
::
getType
()
<<
endl
;
cout
<<
"hostArrayPtr type is "
<<
hostArrayPtr
->
getTypeVirtual
(
)
<<
endl
;
cout
<<
"HostArray type is "
<<
getType
<
HostArray
>
()
<<
endl
;
cout
<<
"hostArrayPtr type is "
<<
getType
(
*
hostArrayPtr
)
<<
endl
;
cout
<<
"CudaArray type is "
<<
CudaArray
::
getType
()
<<
endl
;
cout
<<
"cudaArrayPtr type is "
<<
cudaArrayPtr
->
getTypeVirtual
(
)
<<
endl
;
cout
<<
"CudaArray type is "
<<
getType
<
CudaArray
>
()
<<
endl
;
cout
<<
"cudaArrayPtr type is "
<<
getType
(
*
cudaArrayPtr
)
<<
endl
;
// Object serialization types
cout
<<
"HostArray serialization type is "
<<
HostArray
::
getSerializationType
()
<<
endl
;
...
...
@@ -60,4 +48,3 @@ int main()
cout
<<
"CudaArray serialization type is "
<<
CudaArray
::
getSerializationType
()
<<
endl
;
cout
<<
"cudaArrayPtr serialization type is "
<<
cudaArrayPtr
->
getSerializationTypeVirtual
()
<<
endl
;
}
src/Benchmarks/BLAS/spmv.h
View file @
5910a5e8
...
...
@@ -109,7 +109,7 @@ benchmarkSpMV( Benchmark & benchmark,
CudaVector
deviceVector
,
deviceVector2
;
// create benchmark group
const
std
::
vector
<
String
>
parsedType
=
parseObjectType
(
HostMatrix
::
getType
()
);
const
std
::
vector
<
String
>
parsedType
=
parseObjectType
(
getType
<
HostMatrix
>
()
);
#ifdef HAVE_CUDA
benchmark
.
createHorizontalGroup
(
parsedType
[
0
],
2
);
#else
...
...
src/Benchmarks/HeatEquation/BenchmarkLaplace.h
View file @
5910a5e8
...
...
@@ -33,8 +33,6 @@ class BenchmarkLaplace< Meshes::Grid< 1, MeshReal, Device, MeshIndex >, Real, In
typedef
Functions
::
MeshFunction
<
MeshType
>
MeshFunctionType
;
enum
{
Dimension
=
MeshType
::
getMeshDimension
()
};
static
String
getType
();
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
Real
operator
()(
const
MeshFunction
&
u
,
...
...
@@ -81,8 +79,6 @@ class BenchmarkLaplace< Meshes::Grid< 2,MeshReal, Device, MeshIndex >, Real, Ind
typedef
Functions
::
MeshFunction
<
MeshType
>
MeshFunctionType
;
enum
{
Dimension
=
MeshType
::
getMeshDimension
()
};
static
String
getType
();
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
Real
operator
()(
const
MeshFunction
&
u
,
...
...
@@ -144,8 +140,6 @@ class BenchmarkLaplace< Meshes::Grid< 3,MeshReal, Device, MeshIndex >, Real, Ind
typedef
Functions
::
MeshFunction
<
MeshType
>
MeshFunctionType
;
enum
{
Dimension
=
MeshType
::
getMeshDimension
()
};
static
String
getType
();
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
Real
operator
()(
const
MeshFunction
&
u
,
...
...
src/Benchmarks/HeatEquation/BenchmarkLaplace_impl.h
View file @
5910a5e8
...
...
@@ -4,21 +4,6 @@
/****
* 1D problem
*/
template
<
typename
MeshReal
,
typename
Device
,
typename
MeshIndex
,
typename
Real
,
typename
Index
>
String
BenchmarkLaplace
<
Meshes
::
Grid
<
1
,
MeshReal
,
Device
,
MeshIndex
>
,
Real
,
Index
>::
getType
()
{
return
String
(
"BenchmarkLaplace< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshReal
,
typename
Device
,
typename
MeshIndex
,
...
...
@@ -108,21 +93,6 @@ setMatrixElements( const RealType& time,
/****
* 2D problem
*/
template
<
typename
MeshReal
,
typename
Device
,
typename
MeshIndex
,
typename
Real
,
typename
Index
>
String
BenchmarkLaplace
<
Meshes
::
Grid
<
2
,
MeshReal
,
Device
,
MeshIndex
>
,
Real
,
Index
>::
getType
()
{
return
String
(
"BenchmarkLaplace< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshReal
,
typename
Device
,
typename
MeshIndex
,
...
...
@@ -288,21 +258,6 @@ setMatrixElements( const RealType& time,
/****
* 3D problem
*/
template
<
typename
MeshReal
,
typename
Device
,
typename
MeshIndex
,
typename
Real
,
typename
Index
>
String
BenchmarkLaplace
<
Meshes
::
Grid
<
3
,
MeshReal
,
Device
,
MeshIndex
>
,
Real
,
Index
>::
getType
()
{
return
String
(
"BenchmarkLaplace< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshReal
,
typename
Device
,
typename
MeshIndex
,
...
...
src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem.h
View file @
5910a5e8
...
...
@@ -40,8 +40,6 @@ class HeatEquationBenchmarkProblem:
using
typename
BaseType
::
DofVectorPointer
;
HeatEquationBenchmarkProblem
();
static
String
getType
();
String
getPrologHeader
()
const
;
...
...
src/Benchmarks/HeatEquation/HeatEquationBenchmarkProblem_impl.h
View file @
5910a5e8
...
...
@@ -16,18 +16,6 @@
template
<
typename
Mesh
,
typename
BoundaryCondition
,
typename
RightHandSide
,
typename
DifferentialOperator
,
typename
Communicator
>
String
HeatEquationBenchmarkProblem
<
Mesh
,
BoundaryCondition
,
RightHandSide
,
DifferentialOperator
,
Communicator
>::
getType
()
{
return
String
(
"HeatEquationBenchmarkProblem< "
)
+
Mesh
::
getType
()
+
" >"
;
}
template
<
typename
Mesh
,
typename
BoundaryCondition
,
typename
RightHandSide
,
...
...
src/Benchmarks/HeatEquation/tnlTestGrid2D.h
View file @
5910a5e8
...
...
@@ -78,10 +78,6 @@ class Meshes::Grid< 2, Real, Device, Index > : public tnlObject
Grid
();
static
String
getType
();
String
getTypeVirtual
()
const
;
static
String
getSerializationType
();
virtual
String
getSerializationTypeVirtual
()
const
;
...
...
@@ -212,29 +208,13 @@ Meshes::Grid< 2, Real, Device, Index > :: Grid()
template
<
typename
Real
,
typename
Device
,
typename
Index
>
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
getType
()
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
get
Serialization
Type
()
{
return
String
(
"Meshes::Grid< "
)
+
convertToString
(
getMeshDimension
()
)
+
", "
+
String
(
::
getType
<
RealType
>
()
)
+
", "
+
String
(
Device
::
getDeviceType
()
)
+
", "
+
String
(
::
getType
<
IndexType
>
()
)
+
" >"
;
}
template
<
typename
Real
,
typename
Device
,
typename
Index
>
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
getTypeVirtual
()
const
{
return
this
->
getType
();
}
template
<
typename
Real
,
typename
Device
,
typename
Index
>
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
getSerializationType
()
{
return
HostType
::
getType
();
getType
<
RealType
>
()
+
", "
+
getType
<
Devices
::
Host
>
()
+
", "
+
getType
<
IndexType
>
()
+
" >"
;
};
template
<
typename
Real
,
...
...
@@ -854,10 +834,6 @@ class Meshes::Grid< 2, Real, Device, Index > : public tnlObject
Grid
();
static
String
getType
();
String
getTypeVirtual
()
const
;
static
String
getSerializationType
();
virtual
String
getSerializationTypeVirtual
()
const
;
...
...
@@ -977,29 +953,13 @@ Meshes::Grid< 2, Real, Device, Index > :: Grid()
template
<
typename
Real
,
typename
Device
,
typename
Index
>
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
getType
()
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
get
Serialization
Type
()
{
return
String
(
"Meshes::Grid< "
)
+
convertToString
(
getMeshDimension
()
)
+
", "
+
String
(
::
getType
<
RealType
>
()
)
+
", "
+
String
(
Device
::
getDeviceType
()
)
+
", "
+
String
(
::
getType
<
IndexType
>
()
)
+
" >"
;
}
template
<
typename
Real
,
typename
Device
,
typename
Index
>
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
getTypeVirtual
()
const
{
return
this
->
getType
();
}
template
<
typename
Real
,
typename
Device
,
typename
Index
>
String
Meshes
::
Grid
<
2
,
Real
,
Device
,
Index
>
::
getSerializationType
()
{
return
HostType
::
getType
();
getType
<
RealType
>
()
+
", "
+
getType
<
Devices
::
Host
>
()
+
", "
+
getType
<
IndexType
>
()
+
" >"
;
};
template
<
typename
Real
,
...
...
src/Benchmarks/ODESolvers/Euler.h
View file @
5910a5e8
...
...
@@ -38,8 +38,6 @@ class Euler : public Solvers::ODE::ExplicitSolver< Problem, SolverMonitor >
Euler
();
static
String
getType
();
static
void
configSetup
(
Config
::
ConfigDescription
&
config
,
const
String
&
prefix
=
""
);
...
...
src/Benchmarks/ODESolvers/Euler.hpp
View file @
5910a5e8
...
...
@@ -32,14 +32,6 @@ Euler< Problem, SolverMonitor >::Euler()
{
};
template
<
typename
Problem
,
typename
SolverMonitor
>
String
Euler
<
Problem
,
SolverMonitor
>::
getType
()
{
return
String
(
"Euler< "
)
+
Problem
::
getType
()
+
String
(
" >"
);
};
template
<
typename
Problem
,
typename
SolverMonitor
>
void
Euler
<
Problem
,
SolverMonitor
>::
configSetup
(
Config
::
ConfigDescription
&
config
,
const
String
&
prefix
)
...
...
src/Benchmarks/ODESolvers/Merson.h
View file @
5910a5e8
...
...
@@ -35,8 +35,6 @@ class Merson : public Solvers::ODE::ExplicitSolver< Problem, SolverMonitor >
Merson
();
static
String
getType
();
static
void
configSetup
(
Config
::
ConfigDescription
&
config
,
const
String
&
prefix
=
""
);
...
...
src/Benchmarks/ODESolvers/Merson.hpp
View file @
5910a5e8
...
...
@@ -94,14 +94,6 @@ Merson< Problem, SolverMonitor >::Merson()
}
};
template
<
typename
Problem
,
typename
SolverMonitor
>
String
Merson
<
Problem
,
SolverMonitor
>::
getType
()
{
return
String
(
"Merson< "
)
+
Problem
::
getType
()
+
String
(
" >"
);
};
template
<
typename
Problem
,
typename
SolverMonitor
>
void
Merson
<
Problem
,
SolverMonitor
>::
configSetup
(
Config
::
ConfigDescription
&
config
,
const
String
&
prefix
)
...
...
src/Examples/flow-sw/LaxFridrichsContinuity.h
View file @
5910a5e8
...
...
@@ -38,14 +38,6 @@ class LaxFridrichsContinuityBase
LaxFridrichsContinuityBase
()
:
artificialViscosity
(
1.0
){};
static
String
getType
()
{
return
String
(
"LaxFridrichsContinuity< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
void
setTau
(
const
Real
&
tau
)
{
...
...
src/Examples/flow-sw/LaxFridrichsEnergy.h
View file @
5910a5e8
...
...
@@ -36,14 +36,6 @@ class LaxFridrichsEnergyBase
LaxFridrichsEnergyBase
()
:
artificialViscosity
(
1.0
){};
static
String
getType
()
{
return
String
(
"LaxFridrichsEnergy< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
void
setTau
(
const
Real
&
tau
)
{
this
->
tau
=
tau
;
...
...
src/Examples/flow-sw/LaxFridrichsMomentumX.h
View file @
5910a5e8
...
...
@@ -46,15 +46,6 @@ class LaxFridrichsMomentumX< Meshes::Grid< 1, MeshReal, Device, MeshIndex >, Rea
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumX< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -119,14 +110,6 @@ class LaxFridrichsMomentumX< Meshes::Grid< 2, MeshReal, Device, MeshIndex >, Rea
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumX< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -200,14 +183,6 @@ class LaxFridrichsMomentumX< Meshes::Grid< 3,MeshReal, Device, MeshIndex >, Real
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumX< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
src/Examples/flow-sw/LaxFridrichsMomentumY.h
View file @
5910a5e8
...
...
@@ -46,15 +46,6 @@ class LaxFridrichsMomentumY< Meshes::Grid< 1, MeshReal, Device, MeshIndex >, Rea
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumY< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -108,14 +99,6 @@ class LaxFridrichsMomentumY< Meshes::Grid< 2, MeshReal, Device, MeshIndex >, Rea
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumY< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -189,14 +172,6 @@ class LaxFridrichsMomentumY< Meshes::Grid< 3,MeshReal, Device, MeshIndex >, Real
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumY< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
src/Examples/flow-sw/LaxFridrichsMomentumZ.h
View file @
5910a5e8
...
...
@@ -46,15 +46,6 @@ class LaxFridrichsMomentumZ< Meshes::Grid< 1, MeshReal, Device, MeshIndex >, Rea
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumZ< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -108,14 +99,6 @@ class LaxFridrichsMomentumZ< Meshes::Grid< 2, MeshReal, Device, MeshIndex >, Rea
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumZ< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -169,14 +152,6 @@ class LaxFridrichsMomentumZ< Meshes::Grid< 3,MeshReal, Device, MeshIndex >, Real
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"LaxFridrichsMomentumZ< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
src/Examples/flow-sw/UpwindContinuity.h
View file @
5910a5e8
...
...
@@ -37,14 +37,6 @@ class UpwindContinuityBase
typedef
Pointers
::
SharedPointer
<
MeshFunctionType
>
MeshFunctionPointer
;
typedef
Pointers
::
SharedPointer
<
VelocityFieldType
>
VelocityFieldPointer
;
static
String
getType
()
{
return
String
(
"UpwindContinuity< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
void
setTau
(
const
Real
&
tau
)
{
this
->
tau
=
tau
;
...
...
src/Examples/flow-sw/UpwindEnergy.h
View file @
5910a5e8
...
...
@@ -36,14 +36,6 @@ class UpwindEnergyBase
UpwindEnergyBase
()
:
artificialViscosity
(
1.0
){};
static
String
getType
()
{
return
String
(
"UpwindEnergy< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
void
setTau
(
const
Real
&
tau
)
{
this
->
tau
=
tau
;
...
...
src/Examples/flow-sw/UpwindMomentumX.h
View file @
5910a5e8
...
...
@@ -46,15 +46,6 @@ class UpwindMomentumX< Meshes::Grid< 1, MeshReal, Device, MeshIndex >, Real, Ind
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"UpwindMomentumX< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -136,14 +127,6 @@ class UpwindMomentumX< Meshes::Grid< 2, MeshReal, Device, MeshIndex >, Real, Ind
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"UpwindMomentumX< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}
template
<
typename
MeshFunction
,
typename
MeshEntity
>
__cuda_callable__
...
...
@@ -268,14 +251,6 @@ class UpwindMomentumX< Meshes::Grid< 3,MeshReal, Device, MeshIndex >, Real, Inde
using
typename
BaseType
::
VelocityFieldType
;
using
typename
BaseType
::
VelocityFieldPointer
;
using
BaseType
::
Dimensions
;
static
String
getType
()
{
return
String
(
"UpwindMomentumX< "
)
+
MeshType
::
getType
()
+
", "
+
TNL
::
getType
<
Real
>
()
+
", "
+
TNL
::
getType
<
Index
>
()
+
" >"
;
}