BISICLES AMR ice sheet model  0.9
GroundingLineLocalizedFlux.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3 * _______ __
4 * / ___/ / ___ __ _ / / ___
5 * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6 * \___/_//_/\___/_/_/_/_.__/\___/
7 * Please refer to Copyright.txt, in Chombo's root directory.
8 */
9 #endif
10 #ifndef _GROUNDING_LINE_LOCALIZED_FLUX_H_
11 #define _GROUNDING_LINE_LOCALIZED_FLUX_H_
12 
13 #include "SurfaceFlux.H"
14 #include "NamespaceHeader.H"
18 {
19 
20  SurfaceFlux* m_groundingLineFlux;
21  SurfaceFlux* m_ambientFlux;
22  Real m_powerOfThickness;
23 
24 
25 public:
26  //constructor
28  (SurfaceFlux* a_groundingLineFlux,
29  SurfaceFlux* a_ambientFlux,
30  const Real& a_powerOfThickness
31  );
32 
35 
37 
39  virtual SurfaceFlux* new_surfaceFlux();
40 
42 
46  virtual void surfaceThicknessFlux(LevelData<FArrayBox>& a_flux,
47  const AmrIceBase& a_amrIce,
48  int a_level, Real a_dt);
49 
50 
51 
52 protected:
53  Vector<Real> m_abscissae;
54  Vector<Real> m_ordinates;
55 
56 private:
57  // Disallowed for all the usual reasons
58  void operator=(const GroundingLineLocalizedFlux& a_input)
59  {
60  MayDay::Error("invalid operator");
61  }
62 
63  // Disallowed for all the usual reasons
65  {
66  MayDay::Error("invalid operator");
67  }
68 
70  {
71  MayDay::Error("invalid operator");
72  }
73 
74 };
75 #include "NamespaceFooter.H"
76 #endif
Definition: GroundingLineLocalizedFlux.H:17
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: GroundingLineLocalizedFlux.cpp:37
virtual SurfaceFlux * new_surfaceFlux()
factory method
Definition: GroundingLineLocalizedFlux.cpp:29
Vector< Real > m_ordinates
Definition: GroundingLineLocalizedFlux.H:54
abstract class defining the surface flux interface
Definition: SurfaceFlux.H:39
Vector< Real > m_abscissae
Definition: GroundingLineLocalizedFlux.H:53
abstract base class for amr ice sheet models (AmrIce, AMRIceControl)
Definition: AmrIceBase.H:21
~GroundingLineLocalizedFlux()
destructor
Definition: GroundingLineLocalizedFlux.H:34