Public Methods |
| | PatchGodunov () |
| | Constructor.
|
| virtual | ~PatchGodunov () |
| | Destructor.
|
| virtual void | define (const ProblemDomain &a_domain, const Real &a_dx, const GodunovPhysics *const a_gdnvPhysicsPtr, const int &a_normalPredOrder, const bool &a_useFourthOrderSlopes, const bool &a_usePrimLimiting, const bool &a_useCharLimiting, const bool &a_useFlattening, const bool &a_useArtificialViscosity, const Real &a_artificialViscosity) |
| | Define the object.
|
| virtual void | setCurrentTime (const Real &a_currentTime) |
| | Set the current time before calling updateState, computeWHalf, computeUpdate.
|
| virtual void | setCurrentBox (const Box &a_currentBox) |
| | Set the current box before calling updateState, computeWHalf, computeUpdate.
|
| virtual void | updateState (FArrayBox &a_U, FArrayBox a_F[CH_SPACEDIM], Real &a_maxWaveSpeed, const FArrayBox &a_S, const Real &a_dt, const Box &a_box) |
| | Update the conserved variables and return the fluxes used to do this.
|
| virtual void | computeWHalf (FArrayBox a_WHalf[CH_SPACEDIM], const FArrayBox &a_U, const FArrayBox &a_S, const Real &a_dt, const Box &a_box) |
| | Compute the time-centered values of the primitive variables on cell faces.
|
| virtual void | computeUpdate (FArrayBox &a_dU, FArrayBox a_Flux[CH_SPACEDIM], const FArrayBox &a_U, const FArrayBox a_WHalf[CH_SPACEDIM], const Real &a_dt, const Box &a_box) |
| | Compute the increment in the conserved variables from face variables.
|
| void | computeFluxes (FArrayBox a_F[CH_SPACEDIM], const FArrayBox a_wHalf[CH_SPACEDIM], const Box &a_box) |
| | Compute fluxes from primitive variables on faces.
|
| void | PLMNormalPred (FArrayBox &a_WMinus, FArrayBox &a_WPlus, const Real &a_dtbydx, const FArrayBox &a_W, const FArrayBox &a_flat, const int &a_dir, const Box &a_box) |
| | PLM normal predictor.
|
| void | PPMNormalPred (FArrayBox &a_WMinus, FArrayBox &a_WPlus, const Real &a_dtbydx, const FArrayBox &a_W, const FArrayBox &a_flat, const int &a_dir, const Box &a_box) |
| | PPM normal predictor.
|
| virtual bool | isDefined () const |
| | Is the object completely defined.
|
Protected Attributes |
| ProblemDomain | m_domain |
| Real | m_dx |
| GodunovPhysics * | m_gdnvPhysics |
| GodunovUtilities | m_util |
| int | m_normalPredOrder |
| bool | m_useFourthOrderSlopes |
| bool | m_usePrimLimiting |
| bool | m_useCharLimiting |
| bool | m_useFlattening |
| bool | m_useArtificialViscosity |
| Real | m_artificialViscosity |
| Real | m_currentTime |
| bool | m_isCurrentTimeSet |
| Box | m_currentBox |
| bool | m_isCurrentBoxSet |
| bool | m_isDefined |