AMRLevelMappedStabilityStrategy Class Reference

#include <AMRLevelMappedStabilityStrategy.H>

List of all members.


Detailed Description

This class defines an interface for computing quantities needed for deciding on a stable time step for high-order mapped AMR algorithms.

Public Member Functions

 AMRLevelMappedStabilityStrategy (Real a_stabilityFactor)
virtual ~AMRLevelMappedStabilityStrategy ()
 Destructor.
Real maxTimeStep (const ProblemDomain &a_problem_domain, const DisjointBoxLayout &a_grids, const LevelGridMetrics *const a_gridMetrics, const MOLPhysics &a_physics, const MappedLevelData &a_data, Real a_dx, Real a_time) const
virtual Real maxWaveSpeed (const ProblemDomain &a_problem_domain, const DisjointBoxLayout &a_grids, const LevelGridMetrics *const a_gridMetrics, const MOLPhysics &a_physics, const MappedLevelData &a_data, Real a_dx, Real a_time) const =0
virtual
AMRLevelMappedStabilityStrategy
clone () const =0
 Override this method to create a new AMRLevelMappedStabilityStrategy instance.

Protected Attributes

Real m_stabilityFactor
 The stability factor.

Private Member Functions

 AMRLevelMappedStabilityStrategy ()
 AMRLevelMappedStabilityStrategy (const AMRLevelMappedStabilityStrategy &)
AMRLevelMappedStabilityStrategyoperator= (const AMRLevelMappedStabilityStrategy &)

Constructor & Destructor Documentation

AMRLevelMappedStabilityStrategy::AMRLevelMappedStabilityStrategy ( Real  a_stabilityFactor  )  [explicit]

Base class strategy constructor. Must be called by all subclasses.

Parameters:
a_stabilityFactor The factor representing the broadest height of the region of stability for the time integrator of interest.

virtual AMRLevelMappedStabilityStrategy::~AMRLevelMappedStabilityStrategy (  )  [virtual]

Destructor.

AMRLevelMappedStabilityStrategy::AMRLevelMappedStabilityStrategy (  )  [private]

AMRLevelMappedStabilityStrategy::AMRLevelMappedStabilityStrategy ( const AMRLevelMappedStabilityStrategy  )  [private]


Member Function Documentation

Real AMRLevelMappedStabilityStrategy::maxTimeStep ( const ProblemDomain a_problem_domain,
const DisjointBoxLayout a_grids,
const LevelGridMetrics *const   a_gridMetrics,
const MOLPhysics a_physics,
const MappedLevelData a_data,
Real  a_dx,
Real  a_time 
) const

This returns the maximum allowable time step (without a CFL safety factor.

Parameters:
a_data The mapped grid data to be used in determining the time step.
a_dx The grid spacing that determines the time step.
a_time The time at which the time step is computed.

virtual Real AMRLevelMappedStabilityStrategy::maxWaveSpeed ( const ProblemDomain a_problem_domain,
const DisjointBoxLayout a_grids,
const LevelGridMetrics *const   a_gridMetrics,
const MOLPhysics a_physics,
const MappedLevelData a_data,
Real  a_dx,
Real  a_time 
) const [pure virtual]

Override this method to determine the maximum wave speed on the computational domain.

Parameters:
a_data The mapped grid data to be used in determining the wave speed.

virtual AMRLevelMappedStabilityStrategy* AMRLevelMappedStabilityStrategy::clone (  )  const [pure virtual]

Override this method to create a new AMRLevelMappedStabilityStrategy instance.

AMRLevelMappedStabilityStrategy& AMRLevelMappedStabilityStrategy::operator= ( const AMRLevelMappedStabilityStrategy  )  [private]


Member Data Documentation

The stability factor.


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

Generated on Tue May 23 03:26:52 2017 for Chombo + EB + MF by  doxygen 1.5.5