#include "moab/Core.hpp"
#include "moab/Interface.hpp"
#include "moab/Range.hpp"
#include "MBTagConventions.hpp"
#include <iostream>
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ MESH_DIR
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
- Examples
- SetsNTags.cpp.
Definition at line 28 of file SetsNTags.cpp.
37 if( NULL ==
mb )
return 1;
50 for(
int i = 0; i < 3; i++ )
62 for( set_it = sets.
begin(); set_it != sets.
end(); ++set_it )
71 cout <<
tag_nms[i] <<
" " << set_id <<
" has " << set_ents.
size() <<
" entities:" << endl;
72 set_ents.
print(
" " );
References moab::Range::begin(), moab::Range::clear(), moab::Range::end(), ErrorCode, moab::Core::get_entities_by_handle(), moab::Core::get_entities_by_type_and_tag(), moab::Core::load_file(), mb, MB_CHK_ERR, MB_TYPE_INTEGER, MBENTITYSET, moab::Range::print(), moab::Range::size(), moab::Core::tag_get_data(), moab::Core::tag_get_handle(), tag_nms, and test_file_name.
◆ tag_nms
◆ test_file_name
string test_file_name = string( MESH_DIR ) + string( "/hex01.vtk" ) |