• VTF
  • FSI
  • AMROC
  • SFC
  • Motion
  • STLIB
  • Main Page
  • Related Pages
  • Classes
  • Files
  • File List
  • File Members

amroc/lbm/LBMExactSolution.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // Copyright (C) 2013 Ralf Deiterding
00004 // German Aerospace Center (DLR)
00005 
00006 #ifndef LBM_EXACT_SOLUTION_H
00007 #define LBM_EXACT_SOLUTION_H
00008 
00016 #include "Interfaces/SchemeExactSolution.h"
00017 
00024 template <class LBMType, int dim>
00025 class LBMExactSolution : public SchemeExactSolution<LBMType,dim> {
00026   typedef SchemeExactSolution<LBMType,dim> base;
00027 public:    
00028   typedef typename LBMType::MicroType MicroType;
00029   typedef typename LBMType::MacroType MacroType;
00030 
00031   LBMExactSolution(LBMType &lbm) : base(lbm) {} 
00032 
00033   inline LBMType& LBM() { return base::Scheme(); }
00034   inline const LBMType& LBM() const { return base::Scheme(); }
00035 };
00036   
00037 
00038 #endif