COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
LibZoltan.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_zoltan_LibZoltan_hpp
8 #define cf3_mesh_zoltan_LibZoltan_hpp
9 
11 
12 // zoltan includes
13 #include <mpi.h>
14 #include <zoltan_cpp.h>
15 #include "common/Library.hpp"
16 
18 
21 #ifdef COOLFLUID_ZOLTAN_EXPORTS
22 # define mesh_zoltan_API CF3_EXPORT_API
23 # define mesh_zoltan_TEMPLATE
24 #else
25 # define mesh_zoltan_API CF3_IMPORT_API
26 # define mesh_zoltan_TEMPLATE CF3_TEMPLATE_EXTERN
27 #endif
28 
30 
31 namespace cf3 {
32 namespace mesh {
33 
36 namespace zoltan {
37 
39 
43 {
44 public:
45 
46 
47 
48 
50  LibZoltan ( const std::string& name) : common::Library(name) { }
51 
53  static std::string library_namespace() { return "cf3.mesh.zoltan"; }
54 
58  static std::string library_name() { return "zoltan"; }
59 
63 
64  static std::string library_description()
65  {
66  return "This library implements a mesh partitioner using the zoltan external library.";
67  }
68 
70  static std::string type_name() { return "LibZoltan"; }
71 }; // LibZoltan
72 
74 
75 } // zoltan
76 } // mesh
77 } // cf3
78 
80 
81 #endif // cf3_mesh_zoltan_LibZoltan_hpp
std::string name(ComponentWrapper &self)
static std::string library_name()
Definition: LibZoltan.hpp:58
static std::string library_namespace()
Definition: LibZoltan.hpp:53
static std::string type_name()
Gets the Class name.
Definition: LibZoltan.hpp:70
static std::string library_description()
Definition: LibZoltan.hpp:64
Top-level namespace for coolfluid.
Definition: Action.cpp:18
#define mesh_zoltan_API
Definition: LibZoltan.hpp:25
Component class for a library.
Definition: Library.hpp:25
LibZoltan(const std::string &name)
Constructor.
Definition: LibZoltan.hpp:50
Send comments to:
COOLFluiD Web Admin