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

amroc/lbm/LBMInitialCondition.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // Copyright (C) 2012 Oak Ridge National Laboratory
00004 // Ralf Deiterding, deiterdingr@ornl.gov
00005 
00006 #ifndef LBM_INITIAL_CONDITION_H
00007 #define LBM_INITIAL_CONDITION_H
00008 
00016 #include "Interfaces/SchemeInitialCondition.h"
00017 
00024 template <class LBMType, int dim>
00025 class LBMInitialCondition : public SchemeInitialCondition<LBMType,dim> {
00026   typedef SchemeInitialCondition<LBMType,dim> base;
00027 public:    
00028   typedef typename LBMType::MicroType MicroType;
00029   typedef typename LBMType::MacroType MacroType;
00030 
00031   LBMInitialCondition(LBMType &lbm) : base(lbm) {} 
00032   inline LBMType& LBM() { return base::Scheme(); }
00033   inline const LBMType& LBM() const { return base::Scheme(); }
00034 };
00035   
00036 
00037 #endif