12 #ifndef _HOTSPOTFLUX_H_ 13 #define _HOTSPOTFLUX_H_ 16 #include "NamespaceHeader.H" 40 int a_level, Real a_dt);
46 void setSpotLoc(Real a_radius, RealVect a_center);
49 void setSpotLoc(RealVect a_radius, RealVect a_center);
78 MayDay::Error(
"invalid operator");
84 MayDay::Error(
"invalid operator");
89 #include "NamespaceFooter.H" bool m_isValSet
checks
Definition: HotspotFlux.H:71
Real m_fluxVal
amount of flux in hot spot
Definition: HotspotFlux.H:56
Real m_startTime
time at which hot spot turns on
Definition: HotspotFlux.H:65
RealVect m_center
center of hot spot
Definition: HotspotFlux.H:62
simple implementation of SurfaceFlux which sets surface flux to a constant in space and time ...
Definition: SurfaceFlux.H:168
virtual ~HotspotFlux()
destructor
Definition: HotspotFlux.H:26
HotspotFlux()
constructor
Definition: HotspotFlux.cpp:18
void setSpotTimes(Real a_startTime, Real a_stopTime)
set start and stop times
Definition: HotspotFlux.cpp:124
void setSpotLoc(Real a_radius, RealVect a_center)
set location of (circular) hot spot
Definition: HotspotFlux.cpp:105
RealVect m_radius
radius of hot spot
Definition: HotspotFlux.H:59
abstract class defining the surface flux interface
Definition: SurfaceFlux.H:39
Definition: HotspotFlux.H:19
bool m_isLocSet
Definition: HotspotFlux.H:72
Real m_stopTime
time at which hot spot turns off
Definition: HotspotFlux.H:68
virtual void surfaceThicknessFlux(LevelData< FArrayBox > &a_flux, const AmrIceBase &a_amrIce, int a_level, Real a_dt)
define source term for thickness evolution and place it in flux
Definition: HotspotFlux.cpp:49
virtual SurfaceFlux * new_surfaceFlux()
factory method
Definition: HotspotFlux.cpp:27
abstract base class for amr ice sheet models (AmrIce, AMRIceControl)
Definition: AmrIceBase.H:21
void setFluxVal(const Real &a_fluxVal)
set flux value in meters/year
Definition: HotspotFlux.cpp:96