194 #ifndef READABAQUS_HPP
195 #define READABAQUS_HPP
197 #ifndef IS_BUILDING_MB
198 #error "ReadABAQUS.hpp isn't supposed to be included into an application"
214 #define ABAQUS_SET_TYPE_TAG_NAME "abaqus_set_type"
215 #define ABAQUS_SET_NAME_TAG_NAME "abaqus_set_name"
216 #define ABAQUS_SET_NAME_LENGTH 100
217 #define ABAQUS_LOCAL_ID_TAG_NAME "abaqus_local_id"
220 #define ABAQUS_INSTANCE_HANDLE_TAG_NAME "abaqus_instance_handle"
221 #define ABAQUS_ASSEMBLY_HANDLE_TAG_NAME "abaqus_assembly_handle"
222 #define ABAQUS_PART_HANDLE_TAG_NAME "abaqus_part_handle"
228 #define ABAQUS_INSTANCE_PART_ID_TAG_NAME "abaqus_instance_part_id"
229 #define ABAQUS_INSTANCE_GLOBAL_ID_TAG_NAME "abaqus_instance_global_id"
233 #define ABAQUS_MAT_NAME_TAG_NAME "abaqus_mat_name"
234 #define ABAQUS_MAT_NAME_LENGTH 100
236 #define ABQ_ASSEMBLY_SET 1
237 #define ABQ_PART_SET 2
238 #define ABQ_INSTANCE_SET 3
239 #define ABQ_NODE_SET 4
240 #define ABQ_ELEMENT_SET 5
354 void tokenize(
const std::string& str, std::vector< std::string >& tokens,
const char* delimiters );
361 const Tag* file_id_tag = 0 );
364 const char* tag_name,
366 std::vector< int >& tag_values_out,
390 std::vector< int > element_ids_subset,
391 Range& element_range );
397 const std::string& set_name,
404 const std::string& set_name,
405 Range& element_range );
409 const std::string& set_name,
414 const std::string& set_name,
419 const std::string& part_name,
420 const std::string& instance_name,
422 const std::vector< double >& translation,
423 const std::vector< double >& rotation );
429 const void* def_val = 0 );
431 void cyl2rect( std::vector< double > coord_list );
433 void sph2rect( std::vector< double > coord_list );
439 std::string
match(
const std::string& token, std::map< std::string, T >& tokenList );
441 void stringToUpper(
const std::string& toBeConverted, std::string& converted );
444 std::map< std::string, std::string >& params );