Chombo + EB
3.2
|
#include <MultiGrid.H>
Public Member Functions | |
MGLevelOpObserver () | |
Base level Constructor. Called by all subclasses. More... | |
virtual | ~MGLevelOpObserver () |
Destructor. More... | |
virtual void | operatorChanged (const MGLevelOp< T > &a_operator) |
void | setObservee (MGLevelOp< T > *a_observee) |
void | clearObservee () |
Private Member Functions | |
MGLevelOpObserver (const MGLevelOpObserver &) | |
MGLevelOpObserver & | operator= (const MGLevelOpObserver &) |
Private Attributes | |
MGLevelOp< T > * | m_op |
This observer class allows objects to be notified when coefficient data for an operator changes.
|
inline |
Base level Constructor. Called by all subclasses.
|
virtual |
Destructor.
Referenced by MGLevelOpObserver< LevelData< NodeFArrayBox > >::MGLevelOpObserver().
|
private |
|
inlinevirtual |
Use this to implement the response of the observer to changes in the observee.
a_operator | The operator whose state has changed. Passed to the observer by the operator itself. |
|
inline |
This gets called by the observee when this observer is added to it. DO NOT CALL THIS METHOD DIRECTLY.
a_observee | The object being observed by this observer. |
Referenced by MGLevelOp< LevelData< NodeFArrayBox > >::addObserver().
|
inline |
This gets called by the observee when it is destroyed. DO NOT CALL THIS METHOD DIRECTLY.
Referenced by MGLevelOp< LevelData< NodeFArrayBox > >::~MGLevelOp().
|
private |
|
private |
Referenced by MGLevelOpObserver< LevelData< NodeFArrayBox > >::clearObservee(), MultiGrid< T >::getAllOperators(), AMRMultiGrid< LevelData< T > >::getAllOperators(), AMRMultiGrid< LevelData< T > >::getAMROperators(), AMRMultiGrid< LevelData< T > >::getOperatorsOp(), AMRMultiGrid< LevelData< T > >::outputAMR(), and MGLevelOpObserver< LevelData< NodeFArrayBox > >::setObservee().