COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Functions.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_Functions_hpp
8 #define cf3_mesh_Functions_hpp
9 
10 #include "common/Handle.hpp"
11 
12 #include "math/MatrixTypes.hpp"
13 
15 
16 namespace cf3 {
17 namespace common {
18 class Component;
19 template <typename T> class List;
20 }
21 namespace mesh {
22 
23  class Dictionary;
24  class Entities;
25 
27 
34 boost::shared_ptr< common::List< Uint > > build_used_nodes_list( const std::vector< Handle<Entities const> >& entities, const Dictionary& dictionary, const bool include_ghost_elems, const bool follow_periodic_links = true);
35 
42 boost::shared_ptr< common::List< Uint > > build_used_nodes_list( const common::Component& node_user, const Dictionary& dictionary, const bool include_ghost_elems, const bool follow_periodic_links = true);
43 
45 
49 void nearest_node_mapping(const RealMatrix& support_local_coords, const RealMatrix& source_local_coords, std::vector<Uint>& node_mapping, std::vector<bool>& is_interior);
50 
52 
53 } // mesh
54 } // cf3
55 
57 
58 #endif // cf3_mesh_Functions_hpp
void nearest_node_mapping(const RealMatrix &support_local_coords, const RealMatrix &source_local_coords, std::vector< Uint > &node_mapping, std::vector< bool > &is_interior)
Definition: Functions.cpp:116
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealMatrix
Dynamic sized matrix of Real scalars.
Definition: MatrixTypes.hpp:22
Top-level namespace for coolfluid.
Definition: Action.cpp:18
boost::shared_ptr< List< Uint > > build_used_nodes_list(const std::vector< Handle< Entities const > > &entities_vector, const Dictionary &dictionary, const bool include_ghost_elems, const bool follow_periodic_links)
Create a List containing unique entries of all the nodes used by a vector of entities...
Definition: Functions.cpp:24
Send comments to:
COOLFluiD Web Admin