Chombo + EB  3.2
Public Member Functions | List of all members
AMRLevelFactory Class Referenceabstract

Factory class to produce an AMRLevel. More...

#include <AMRLevelFactory.H>

Inheritance diagram for AMRLevelFactory:
Inheritance graph

Public Member Functions

virtual AMRLevelnew_amrlevel () const =0
virtual ~AMRLevelFactory ()

Detailed Description

Factory class to produce an AMRLevel.

This is needed for construction of AMRLevel-derived classes by the AMR class.

Constructor & Destructor Documentation

◆ ~AMRLevelFactory()

virtual AMRLevelFactory::~AMRLevelFactory ( )

Member Function Documentation

◆ new_amrlevel()

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 AMRLevelPolytropicGasFactory, AMRLevelAdvectDiffuseFactory, and EBAMRGodunovFactory.

The documentation for this class was generated from the following file: