00001 // -*- C++ -*- 00002 00003 // Copyright (C) 2012 Oak Ridge National Laboratory 00004 // Ralf Deiterding, deiterdingr@ornl.gov 00005 00006 #ifndef LBM_BOUNDARY_CONDITIONS_H 00007 #define LBM_BOUNDARY_CONDITIONS_H 00008 00016 #include "Interfaces/SchemeBoundaryConditions.h" 00017 00018 template <class LBMType, int dim> 00019 class LBMBoundaryConditions : public SchemeBoundaryConditions<LBMType,dim> { 00020 typedef SchemeBoundaryConditions<LBMType,dim> base; 00021 public: 00022 typedef typename LBMType::MicroType MicroType; 00023 typedef typename LBMType::MacroType MacroType; 00024 00025 LBMBoundaryConditions(LBMType &lbm) : base(lbm) {} 00026 inline LBMType& LBM() { return base::Scheme(); } 00027 inline const LBMType& LBM() const { return base::Scheme(); } 00028 }; 00029 00030 00031 #endif