releasedExamples/AMRGodunov/srcPolytropic/WaveIBC.cpp
// Factory method - this object is its own factory:
//   Return a pointer to a new PhysIBC object with m_isDefined = false (i.e.,
//   its define() must be called before it is used) and m_isFortranCommonSet
//   set to value of m_isFortranCommonset in the current (factory) object.
Factory method - this object is its own factory:
Return a pointer to a new PhysIBC object with m_isDefined = false  must be called before it is used) and m_isFortranCommonSet
set to value of m_isFortranCommonset in the current (factory) object.
Factory method - this object is its own factory : Return a pointer to a new PhysIBC object with m_isDefined = false must be called before it is used ) and m_isFortranCommonSet set to value of m_isFortranCommonset in the current ( factory ) object .
PhysIBC* WaveIBC::new_physIBC()
{
  WaveIBC* retval = new WaveIBC();
  retval->m_isFortranCommonSet = m_isFortranCommonSet;
  return static_cast<PhysIBC*>(retval);
}
PhysIBC * WaveIBC :: new_physIBC ( ) { WaveIBC * retval = new WaveIBC ( ) ; retval -> m_isFortranCommonSet = m_isFortranCommonSet ; return static_cast < PhysIBC * > ( retval ) ; }
Factory method - this object is its own factory:
Return a pointer to a new PhysIBC object with m_isDefined = false (i.e.,
its define() must be called before it is used) and m_isFortranCommonSet
set to value of m_isFortranCommonset in the current (factory) object.
Factory method - this object is its own factory : Return a pointer to a new PhysIBC object with m_isDefined = false ( i . e . its define () must be called before it is used ) and m_isFortranCommonSet set to value of m_isFortranCommonset in the current ( factory ) object .