Changeset dfed1c for src/mg.hpp
- Timestamp:
- Nov 22, 2011, 9:22:10 PM (14 years ago)
- Children:
- facba0
- Parents:
- 66f24d
- File:
-
- 1 edited
-
src/mg.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/mg.hpp
r66f24d rdfed1c 11 11 #define MG_HPP_ 12 12 13 #include <map> 14 15 #include "base/command_factory.hpp" 13 16 #include "base/factory.hpp" 14 17 … … 18 21 class Comm; 19 22 class Discretization; 23 class Grid; 20 24 class Interface; 21 25 class LevelOperator; … … 46 50 static VMG::Solver* GetSolver(); 47 51 static VMG::TempGrid* GetTempGrid(); 52 static VMG::Grid* GetGlobalCoarseGrid(); 48 53 49 54 static VMG::Factory& GetFactory(); 55 static VMG::CommandFactory& GetCommands(); 56 57 static void InitializeFromParticleConfigFile(const char* filename); 50 58 51 59 static void Solve(); 52 60 static void Destroy(); 53 61 static bool IsInitialized(); 62 63 static void SetState(const int& key); 54 64 55 65 private: … … 61 71 vmg_float ComputeVectorNorm(const Multigrid& vec); 62 72 63 static VMG::Factory factory; 73 static VMG::CommandFactory command_factory; 74 std::map<int, VMG::Factory> factories; 75 int state; 64 76 }; 65 77
Note:
See TracChangeset
for help on using the changeset viewer.
