Loading examples/advection/advection.h +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class advectionSetter enum { Dimension = MeshType::getDimension() }; typedef LaxFridrichs< MeshType, Real, Index > ApproximateOperator; typedef advectionRhs< MeshType, Real > RightHandSide; typedef Containers::StaticVector < MeshType::getDimension(), Real > Vertex; typedef Containers::StaticVector < MeshType::getDimension(), Real > Point; /**** * Resolve the template arguments of your solver here. Loading examples/advection/advectionRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -23,8 +23,8 @@ template< typename Mesh, typename Real >class advectionRhs Real operator()( const MeshEntity& entity, const Real& time = 0.0 ) const { typedef typename MeshEntity::MeshType::VertexType VertexType; VertexType v = entity.getCenter(); typedef typename MeshEntity::MeshType::PointType PointType; PointType v = entity.getCenter(); return 0.0; } }; Loading examples/heat-equation/tnl-heat-equation-eoc.h +2 −2 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class heatEquationSetter typedef Device DeviceType; typedef Index IndexType; typedef Containers::StaticVector< MeshType::meshDimension, Real > Vertex; typedef Containers::StaticVector< MeshType::meshDimension, Real > Point; static bool run( const Config::ParameterContainer& parameters ) { Loading @@ -62,7 +62,7 @@ class heatEquationSetter typedef Operators::ExactLinearDiffusion< Dimension > ExactOperator; typedef Functions::TestFunction< MeshType::meshDimension, Real, Device > TestFunction; typedef HeatEquationEocRhs< ExactOperator, TestFunction > RightHandSide; typedef Containers::StaticVector < MeshType::meshDimension, Real > Vertex; typedef Containers::StaticVector < MeshType::meshDimension, Real > Point; typedef Operators::DirichletBoundaryConditions< MeshType, TestFunction, Dimension, Real, Index > BoundaryConditions; typedef HeatEquationEocProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator > Solver; SolverStarter solverStarter; Loading examples/inviscid-flow/1d/euler.h +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ class eulerSetter enum { Dimension = MeshType::getDimension() }; typedef LaxFridrichs< MeshType, Real, Index > ApproximateOperator; typedef eulerRhs< MeshType, Real > RightHandSide; typedef Containers::StaticVector < MeshType::getDimension(), Real > Vertex; typedef Containers::StaticVector < MeshType::getDimension(), Real > Point; /**** * Resolve the template arguments of your solver here. Loading examples/inviscid-flow/1d/eulerRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ template< typename Mesh, typename Real >class eulerRhs Real operator()( const MeshEntity& entity, const Real& time = 0.0 ) const { typedef typename MeshEntity::MeshType::VertexType VertexType; VertexType v = entity.getCenter(); typedef typename MeshEntity::MeshType::PointType PointType; PointType v = entity.getCenter(); return 0.0; } }; Loading Loading
examples/advection/advection.h +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class advectionSetter enum { Dimension = MeshType::getDimension() }; typedef LaxFridrichs< MeshType, Real, Index > ApproximateOperator; typedef advectionRhs< MeshType, Real > RightHandSide; typedef Containers::StaticVector < MeshType::getDimension(), Real > Vertex; typedef Containers::StaticVector < MeshType::getDimension(), Real > Point; /**** * Resolve the template arguments of your solver here. Loading
examples/advection/advectionRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -23,8 +23,8 @@ template< typename Mesh, typename Real >class advectionRhs Real operator()( const MeshEntity& entity, const Real& time = 0.0 ) const { typedef typename MeshEntity::MeshType::VertexType VertexType; VertexType v = entity.getCenter(); typedef typename MeshEntity::MeshType::PointType PointType; PointType v = entity.getCenter(); return 0.0; } }; Loading
examples/heat-equation/tnl-heat-equation-eoc.h +2 −2 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ class heatEquationSetter typedef Device DeviceType; typedef Index IndexType; typedef Containers::StaticVector< MeshType::meshDimension, Real > Vertex; typedef Containers::StaticVector< MeshType::meshDimension, Real > Point; static bool run( const Config::ParameterContainer& parameters ) { Loading @@ -62,7 +62,7 @@ class heatEquationSetter typedef Operators::ExactLinearDiffusion< Dimension > ExactOperator; typedef Functions::TestFunction< MeshType::meshDimension, Real, Device > TestFunction; typedef HeatEquationEocRhs< ExactOperator, TestFunction > RightHandSide; typedef Containers::StaticVector < MeshType::meshDimension, Real > Vertex; typedef Containers::StaticVector < MeshType::meshDimension, Real > Point; typedef Operators::DirichletBoundaryConditions< MeshType, TestFunction, Dimension, Real, Index > BoundaryConditions; typedef HeatEquationEocProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator > Solver; SolverStarter solverStarter; Loading
examples/inviscid-flow/1d/euler.h +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ class eulerSetter enum { Dimension = MeshType::getDimension() }; typedef LaxFridrichs< MeshType, Real, Index > ApproximateOperator; typedef eulerRhs< MeshType, Real > RightHandSide; typedef Containers::StaticVector < MeshType::getDimension(), Real > Vertex; typedef Containers::StaticVector < MeshType::getDimension(), Real > Point; /**** * Resolve the template arguments of your solver here. Loading
examples/inviscid-flow/1d/eulerRhs.h +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ template< typename Mesh, typename Real >class eulerRhs Real operator()( const MeshEntity& entity, const Real& time = 0.0 ) const { typedef typename MeshEntity::MeshType::VertexType VertexType; VertexType v = entity.getCenter(); typedef typename MeshEntity::MeshType::PointType PointType; PointType v = entity.getCenter(); return 0.0; } }; Loading