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

Creating namespace Containers.

parent 2c6e63ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#ifndef LaxFridrichs_H
#define LaxFridrichs_H

#include <TNL/Vectors/Vector.h>
#include <TNL/Containers/Vector.h>
#include <TNL/Meshes/Grid.h>

namespace TNL {
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ class advectionSetter
          enum { Dimensions = MeshType::getMeshDimensions() };
          typedef LaxFridrichs< MeshType, Real, Index > ApproximateOperator;
          typedef advectionRhs< MeshType, Real > RightHandSide;
          typedef Vectors::StaticVector < MeshType::getMeshDimensions(), Real > Vertex;
          typedef Containers::StaticVector < MeshType::getMeshDimensions(), Real > Vertex;

         /****
          * Resolve the template arguments of your solver here.
+2 −2
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ class heatEquationSetter
   typedef Device DeviceType;
   typedef Index IndexType;

   typedef Vectors::StaticVector< MeshType::meshDimensions, Real > Vertex;
   typedef Containers::StaticVector< MeshType::meshDimensions, Real > Vertex;

   static bool run( const Config::ParameterContainer& parameters )
   {
@@ -62,7 +62,7 @@ class heatEquationSetter
      typedef Operators::ExactLinearDiffusion< Dimensions > ExactOperator;
      typedef Functions::TestFunction< MeshType::meshDimensions, Real, Device > TestFunction;
      typedef HeatEquationEocRhs< ExactOperator, TestFunction > RightHandSide;
      typedef Vectors::StaticVector < MeshType::meshDimensions, Real > Vertex;
      typedef Containers::StaticVector < MeshType::meshDimensions, Real > Vertex;
      typedef Operators::DirichletBoundaryConditions< MeshType, TestFunction, Dimensions, Real, Index > BoundaryConditions;
      typedef HeatEquationEocProblem< MeshType, BoundaryConditions, RightHandSide, ApproximateOperator > Solver;
      SolverStarter solverStarter;
+2 −2
Original line number Diff line number Diff line
@@ -64,14 +64,14 @@ class heatEquationSetter
   typedef Device DeviceType;
   typedef Index IndexType;

   typedef Vectors::StaticVector< MeshType::meshDimensions, Real > Vertex;
   typedef Containers::StaticVector< MeshType::meshDimensions, Real > Vertex;

   static bool run( const Config::ParameterContainer& parameters )
   {
      enum { Dimensions = MeshType::meshDimensions };
      typedef Operators::LinearDiffusion< MeshType, Real, Index > ApproximateOperator;
      typedef Functions::Analytic::Constant< Dimensions, Real > RightHandSide;
      typedef Vectors::StaticVector < MeshType::meshDimensions, Real > Vertex;
      typedef Containers::StaticVector < MeshType::meshDimensions, Real > Vertex;

      String boundaryConditionsType = parameters.getParameter< String >( "boundary-conditions-type" );
      if( parameters.checkParameter( "boundary-conditions-constant" ) )
+1 −1
Original line number Diff line number Diff line
#ifndef EulerPressureGetter_H
#define EulerPressureGetter_H

#include <TNL/Vectors/Vector.h>
#include <TNL/Containers/Vector.h>
#include <TNL/Meshes/Grid.h>
#include <TNL/Functions/Domain.h>

Loading