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

Refactoring the mean-curvature flow.

parent fe981351
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ class meanCurvatureFlowSetter
      const tnlString& numericalScheme = parameters.getParameter< tnlString >( "numerical-scheme" );
      if( numericalScheme == "fdm" )
      {
         typedef tnlOneSideDiffOperatorQ<MeshType, Real, Index, 0> QOperator;
         typedef tnlOneSideDiffOperatorQ<MeshType, Real, Index > QOperator;
         typedef tnlOneSideDiffNonlinearOperator<MeshType, QOperator, Real, Index > NonlinearOperator;         
         return setBoundaryConditions< NonlinearOperator, QOperator >( parameters );
      }
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ class tnlOperatorFunction : public tnlDomain< Operator::getDimensions(), Operato
         const MeshEntity& meshEntity,
         const RealType& time = 0 ) const
      {
         return operator_->getValue( *function, meshEntity, time );
         return operator_->operator()( *function, meshEntity, time );
      }
      
   protected:
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ class tnlLinearDiffusion< tnlGrid< 1,MeshReal, Device, MeshIndex >, Real, Index

      static tnlString getType();

      template< typename MeshFunction, typename MeshEntity >
      template< typename MeshEntity >
      __cuda_callable__
      inline Real operator()( const MeshFunction< 1 >& u,
                              const MeshEntity& entity,
+14 −0
Original line number Diff line number Diff line
/* 
 * File:   tnlFDMGradientNorm.h
 * Author: oberhuber
 *
 * Created on January 11, 2016, 8:36 AM
 */

#ifndef TNLFDMGRADIENTNORM_H
#define	TNLFDMGRADIENTNORM_H



#endif	/* TNLFDMGRADIENTNORM_H */
+14 −0
Original line number Diff line number Diff line
/* 
 * File:   tnlTwoSidedGradientNorm.h
 * Author: oberhuber
 *
 * Created on January 11, 2016, 8:36 AM
 */

#ifndef TNLTWOSIDEDGRADIENTNORM_H
#define	TNLTWOSIDEDGRADIENTNORM_H



#endif	/* TNLTWOSIDEDGRADIENTNORM_H */
Loading