#include <AMRLevelFactory.H>
This is needed for construction of AMRLevel-derived classes by the AMR class.
Public Member Functions | |
virtual AMRLevel * | new_amrlevel () const =0 |
virtual | ~AMRLevelFactory () |
virtual AMRLevelFactory::~AMRLevelFactory | ( | ) | [inline, virtual] |
virtual AMRLevel* AMRLevelFactory::new_amrlevel | ( | ) | const [pure virtual] |
Factory function. Creates a new AMRLevel. In your instantiation you should include defining all the stuff that is not part of the AMRLevel API.
Implemented in AMRLevelAdvectDiffuseFactory, AMRLevelPolytropicGasFactory, and EBAMRGodunovFactory.