COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
ComputeCFL.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2011 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
7 #ifndef cf3_UFEM_ComputeCFL_hpp
8 #define cf3_UFEM_ComputeCFL_hpp
9 
11 
12 
13 #include "LibUFEM.hpp"
14 
15 namespace cf3 {
16  namespace solver { class Time; }
17 namespace UFEM {
18 
21 {
22 public:
25  ComputeCFL ( const std::string& name );
26 
27  virtual ~ComputeCFL();
28 
30  static std::string type_name () { return "ComputeCFL"; }
31 
32  virtual void execute();
33 
34 private:
36  void trigger_variable();
38  Real m_max_cfl;
41  Real m_dt;
42 };
43 
44 } // UFEM
45 } // cf3
46 
47 
48 #endif // cf3_UFEM_ComputeCFL_hpp
std::string name(ComponentWrapper &self)
Safe pointer to an object. This is the supported method for referring to components.
Definition: Handle.hpp:39
Class to encapsulate Proto actions.
Definition: ProtoAction.hpp:26
Handle< solver::Time > m_time
Definition: ComputeCFL.hpp:40
static std::string type_name()
Get the class name.
Definition: ComputeCFL.hpp:30
Top-level namespace for coolfluid.
Definition: Action.cpp:18
#define UFEM_API
Definition: LibUFEMDemo.hpp:23
Compute Right-Hand-Side of a PDE.
Definition: ComputeCFL.hpp:37
Send comments to:
COOLFluiD Web Admin