Commit 0fd0e406 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Implementing CoFVMGradientNorm operator.

parent 86a47d2b
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@

#include <mesh/tnlGrid.h>
#include <operators/geometric/tnlExactGradientNorm.h>
#include <operators/interpolants/tnlMeshEntitiesInterpolants.h>
#include <operators/tnlOperatorComposition.h>

template< typename Mesh,
          int MeshEntityDimensions = Mesh::getMeshDimensions(),
@@ -37,16 +39,11 @@ template< int MeshDimensions,
          typename Index >
class tnlCoFVMGradientNorm< tnlGrid< MeshDimensions, MeshReal, Device, MeshIndex >, MeshDimensions, Real, Index >
: public tnlOperatorComposition< 
   tnlMeshEntitiesInterpolants< >

tnlGrid< MeshDimensions, MeshReal, Device, MeshIndex >,
                      MeshInteriorDomain,
                      MeshDimensions,
                      MeshDimensions,
                      Real,
                      Index >
   tnlMeshEntitiesInterpolants< tnlGrid< MeshDimensions, MeshReal, Device, MeshIndex >,
                                MeshDimensions - 1,
                                MeshDimensions >,
   tnlCoFVMGradientNorm< tnlGrid< MeshDimensions, MeshReal, Device, MeshIndex >, MeshDimensions - 1, Real, Index > >
{   
   public:
};

template< typename MeshReal,
+2 −2
Original line number Diff line number Diff line
@@ -87,11 +87,11 @@ class tnlCoFVMGradientNormTest
         
         // TODOL udelat implementaci iterpolace pro operatory a specializaci pro mesh functions
         
         this->performTest( testOperator,
         /*this->performTest( testOperator,
                            this->exactOperator,
                            errors,
                            write,
                            verbose );
                            verbose );*/
      }
      
      void runUnitTest()