ViennaGrid - The Vienna Grid Library
2.1.0
|
The main mesh class holding all the different elements. The data structure is configured using a configuration class. See viennagrid::config for predefined configurations. More...
#include <mesh.hpp>
Public Types | |
typedef result_of::mesh_appendix_type < WrappedConfigType >::type | appendix_type |
typedef result_of::mesh_change_counter_type < WrappedConfigType >::type | change_counter_type |
typedef WrappedConfigType::type | config_type |
typedef result_of::mesh_element_collection_type < WrappedConfigType >::type | element_collection_type |
typedef result_of::mesh_inserter_type < WrappedConfigType >::type | inserter_type |
typedef WrappedConfigType | wrapped_config_type |
Public Member Functions | |
appendix_type & | appendix () |
For internal use only. | |
appendix_type const & | appendix () const |
void | clear () |
Completely clears a mesh. | |
element_collection_type & | element_collection () |
For internal use only. | |
element_collection_type const & | element_collection () const |
inserter_type & | get_inserter () |
For internal use only. | |
inserter_type const & | get_inserter () const |
void | increment_change_counter () |
bool | is_obsolete (change_counter_type change_counter_to_check) const |
For internal use only. | |
mesh () | |
Default constructor. | |
template<typename OtherWrappedConfigT > | |
mesh (mesh_proxy< viennagrid::mesh< OtherWrappedConfigT > > proxy) | |
Constructor for creating a view from another mesh/mesh view. | |
mesh (const mesh &other) | |
Copy constructor, remember that copying a mesh might have performance impact due to handle fixing: handles for boundary element will point to other locations. | |
mesh & | operator= (mesh const &other) |
Assignement operator, remember that assigning a mesh to another might have performance impact due to handle fixing: handles for boundary element will point to other locations. | |
void | update_change_counter (change_counter_type &change_counter_to_update) const |
~mesh () | |
Protected Attributes | |
appendix_type | appendix_ |
change_counter_type | change_counter_ |
element_collection_type | element_container_collection |
inserter_type | inserter |
The main mesh class holding all the different elements. The data structure is configured using a configuration class. See viennagrid::config for predefined configurations.
WrappedConfigType | A class wrapping the configuration typemap. See namespace viennagrid::config for examples. |
typedef result_of::mesh_appendix_type<WrappedConfigType>::type appendix_type |
typedef result_of::mesh_change_counter_type<WrappedConfigType>::type change_counter_type |
typedef WrappedConfigType::type config_type |
typedef result_of::mesh_element_collection_type<WrappedConfigType>::type element_collection_type |
typedef result_of::mesh_inserter_type<WrappedConfigType>::type inserter_type |
typedef WrappedConfigType wrapped_config_type |
mesh | ( | ) | [inline] |
Default constructor.
mesh | ( | mesh_proxy< viennagrid::mesh< OtherWrappedConfigT > > | proxy | ) | [inline] |
Constructor for creating a view from another mesh/mesh view.
OtherWrappedConfigT | Wrapped config type of the mesh type from which the view is created |
proxy | Proxy object wrapping the mesh object from which the view is created |
~mesh | ( | ) | [inline] |
Copy constructor, remember that copying a mesh might have performance impact due to handle fixing: handles for boundary element will point to other locations.
other | The mesh which is copied to *this |
appendix_type& appendix | ( | ) | [inline] |
For internal use only.
appendix_type const& appendix | ( | ) | const [inline] |
void clear | ( | ) | [inline] |
Completely clears a mesh.
element_collection_type& element_collection | ( | ) | [inline] |
For internal use only.
element_collection_type const& element_collection | ( | ) | const [inline] |
inserter_type& get_inserter | ( | ) | [inline] |
For internal use only.
inserter_type const& get_inserter | ( | ) | const [inline] |
void increment_change_counter | ( | ) | [inline] |
bool is_obsolete | ( | change_counter_type | change_counter_to_check | ) | const [inline] |
For internal use only.
Assignement operator, remember that assigning a mesh to another might have performance impact due to handle fixing: handles for boundary element will point to other locations.
other | The mesh which is assigned to *this |
void update_change_counter | ( | change_counter_type & | change_counter_to_update | ) | const [inline] |
appendix_type appendix_ [protected] |
change_counter_type change_counter_ [protected] |
element_collection_type element_container_collection [protected] |
inserter_type inserter [protected] |