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-2013 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_solver_ComputeCFL_hpp
8 #define cf3_solver_ComputeCFL_hpp
9 
10 #include "common/Action.hpp"
11 #include "math/MatrixTypes.hpp"
12 #include "solver/LibSolver.hpp"
13 
15 
16 // Forward declares
17 namespace cf3 {
18  namespace mesh {
19  class Entities;
20  class Field;
21  class Dictionary;
22  }
23  namespace solver {
24  class TermComputer;
25  }
26 }
27 
29 
30 namespace cf3 {
31 namespace solver {
32 
34 
38 {
39 public:
40 
43  ComputeCFL ( const std::string& name );
44 
46  virtual ~ComputeCFL() {}
47 
49  static std::string type_name () { return "ComputeCFL"; }
50 
52  virtual void execute();
53 
54 private:
55 
59 
60 };
61 
63 
64 } // solver
65 } // cf3
66 
67 #endif // cf3_solver_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
#define solver_API
Definition: LibSolver.hpp:22
Handle< mesh::Field > m_time_step
Definition: ComputeCFL.hpp:56
Handle< mesh::Field > m_cfl
! Wave speed field
Definition: ComputeCFL.hpp:58
static std::string type_name()
Get the class name.
Definition: ComputeCFL.hpp:49
Top-level namespace for coolfluid.
Definition: Action.cpp:18
Component that executes an action. Implementation of the IAction interface as a component, exposing the execute function as a signal.
Definition: Action.hpp:21
virtual ~ComputeCFL()
Virtual destructor.
Definition: ComputeCFL.hpp:46
Compute Right-Hand-Side of a PDE.
Definition: ComputeCFL.hpp:37
Handle< mesh::Field > m_wave_speed
! Time step field
Definition: ComputeCFL.hpp:57
Send comments to:
COOLFluiD Web Admin