COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
SurfaceIntegral.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_mesh_actions_SurfaceIntegral_hpp
8 #define cf3_mesh_actions_SurfaceIntegral_hpp
9 
11 
12 #include "common/Action.hpp"
14 
16 
17 namespace cf3 {
18 namespace mesh {
19 
20  class Region;
21  class Field;
22  class Entities;
23  class Quadrature;
24 
25 namespace actions {
26 
28 
34 
35 public: // functions
36 
38  SurfaceIntegral( const std::string& name );
39 
41  static std::string type_name() { return "SurfaceIntegral"; }
42 
43  virtual void execute();
44 
49  Real integrate(const Field& field, const std::vector< Handle<Region> >& regions);
50 
55  Real integrate(const Field& field, const std::vector< Handle<Entities> >& entities);
56 
57  void signal_integrate ( common::SignalArgs& node);
58  void signature_integrate ( common::SignalArgs& node);
59 
60 private:
61 
64  std::vector< Handle<Region> > m_regions;
66 
67 }; // end SurfaceIntegral
68 
69 
71 
72 } // actions
73 } // mesh
74 } // cf3
75 
77 
78 #endif // cf3_mesh_actions_SurfaceIntegral_hpp
std::string name(ComponentWrapper &self)
Safe pointer to an object. This is the supported method for referring to components.
Definition: Handle.hpp:39
std::vector< Handle< Region > > m_regions
Manages a set of maps.
Definition: SignalFrame.hpp:31
static std::string type_name()
Gets the Class name.
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
unsigned int Uint
typedef for unsigned int
Definition: CF.hpp:90
SurfaceIntegral Fields with matching support.
#define mesh_actions_API
Definition: LibActions.hpp:22
Send comments to:
COOLFluiD Web Admin