Loading examples/advection/LaxFridrichs.h +3 −3 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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; Loading examples/advection/advection.h +4 −4 Original line number Diff line number Diff line Loading @@ -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. Loading @@ -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 ); Loading @@ -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 ); Loading examples/inviscid-flow/1d/EulerPressureGetter.h +2 −2 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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(); Loading examples/inviscid-flow/1d/EulerVelGetter.h +2 −2 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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(); Loading examples/inviscid-flow/1d/LaxFridrichsContinuity.h +3 −3 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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 Loading
examples/advection/LaxFridrichs.h +3 −3 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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; Loading
examples/advection/advection.h +4 −4 Original line number Diff line number Diff line Loading @@ -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. Loading @@ -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 ); Loading @@ -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 ); Loading
examples/inviscid-flow/1d/EulerPressureGetter.h +2 −2 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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(); Loading
examples/inviscid-flow/1d/EulerVelGetter.h +2 −2 Original line number Diff line number Diff line Loading @@ -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: Loading @@ -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(); Loading
examples/inviscid-flow/1d/LaxFridrichsContinuity.h +3 −3 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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