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

Renamed Mesh::getDimensions() to Mesh::getMeshDimension().

parent 6fbf34ee
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ class LaxFridrichs< Meshes::Grid< 1,MeshReal, Device, MeshIndex >, Real, Index >
      typedef Device DeviceType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };
      Real tau;
      Real artificalViscosity;
      Real advectionSpeedX;
@@ -94,7 +94,7 @@ class LaxFridrichs< Meshes::Grid< 2,MeshReal, Device, MeshIndex >, Real, Index >
      typedef Device DeviceType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };
      Real tau;
      Real artificalViscosity;
      Real advectionSpeedX;
@@ -161,7 +161,7 @@ class LaxFridrichs< Meshes::Grid< 3,MeshReal, Device, MeshIndex >, Real, Index >
      typedef Device DeviceType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };
      Real tau;
      Real artificalViscosity;
      Real advectionSpeedX;
+4 −4
Original line number Diff line number Diff line
@@ -70,10 +70,10 @@ class advectionSetter

      static bool run( const Config::ParameterContainer & parameters )
      {
          enum { Dimension = MeshType::getDimension() };
          enum { Dimension = MeshType::getMeshDimension() };
          typedef LaxFridrichs< MeshType, Real, Index > ApproximateOperator;
          typedef advectionRhs< MeshType, Real > RightHandSide;
          typedef Containers::StaticVector < MeshType::getDimension(), Real > Point;
          typedef Containers::StaticVector < MeshType::getMeshDimension(), Real > Point;

         /****
          * Resolve the template arguments of your solver here.
@@ -86,7 +86,7 @@ class advectionSetter
             typedef Functions::Analytic::Constant< Dimension, Real > Constant;
             if( boundaryConditionsType == "dirichlet" )
             {
                typedef Operators::DirichletBoundaryConditions< MeshType, Constant, MeshType::getDimension(), Real, Index > BoundaryConditions;
                typedef Operators::DirichletBoundaryConditions< MeshType, Constant, MeshType::getMeshDimension(), Real, Index > BoundaryConditions;
                typedef advectionProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator > Problem;
                SolverStarter solverStarter;
                return solverStarter.template run< Problem >( parameters );
@@ -99,7 +99,7 @@ class advectionSetter
          typedef Functions::MeshFunction< MeshType > MeshFunction;
          if( boundaryConditionsType == "dirichlet" )
          {
             typedef Operators::DirichletBoundaryConditions< MeshType, MeshFunction, MeshType::getDimension(), Real, Index > BoundaryConditions;
             typedef Operators::DirichletBoundaryConditions< MeshType, MeshFunction, MeshType::getMeshDimension(), Real, Index > BoundaryConditions;
             typedef advectionProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator > Problem;
             SolverStarter solverStarter;
             return solverStarter.template run< Problem >( parameters );
+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ template< typename Mesh,
          typename Real = typename Mesh::RealType,
          typename Index = typename Mesh::IndexType >
class EulerPressureGetter
: public Functions::Domain< Mesh::getDimension(), Functions::MeshDomain >
: public Functions::Domain< Mesh::getMeshDimension(), Functions::MeshDomain >
{
   public:
      
@@ -20,7 +20,7 @@ class EulerPressureGetter
      typedef Real RealType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };

      static String getType();
      
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ template< typename Mesh,
          typename Real = typename Mesh::RealType,
          typename Index = typename Mesh::IndexType >
class EulerVelGetter
: public Functions::Domain< Mesh::getDimension(), Functions::MeshDomain >
: public Functions::Domain< Mesh::getMeshDimension(), Functions::MeshDomain >
{
   public:
      
@@ -19,7 +19,7 @@ class EulerVelGetter
      typedef Real RealType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };

      static String getType();
      
+3 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ class LaxFridrichsContinuity< Meshes::Grid< 1,MeshReal, Device, MeshIndex >, Rea
      typedef Device DeviceType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };

      static String getType();
      Real tau;
@@ -81,7 +81,7 @@ class LaxFridrichsContinuity< Meshes::Grid< 2,MeshReal, Device, MeshIndex >, Rea
      typedef Device DeviceType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };

      static String getType();
      Real tau;
@@ -136,7 +136,7 @@ class LaxFridrichsContinuity< Meshes::Grid< 3,MeshReal, Device, MeshIndex >, Rea
      typedef Device DeviceType;
      typedef Index IndexType;
      typedef Functions::MeshFunction< MeshType > MeshFunctionType;
      enum { Dimension = MeshType::getDimension() };
      enum { Dimension = MeshType::getMeshDimension() };

      static String getType();
      Real tau;
Loading