) # Read *_structure.xml (contains structure elements) reader.read_functions_header() # Read *_functions.h reader.read_functions_c_file() # Read *_functions.c reader.read_literals_h_file() # Read *_literals.h reader.remove_fictitious_fequation() ################################# # Builders ################################# # Builder for the dynamic pb builder = Factory(reader) builder.build_variables() # In order to build C++ methods getTypeVariable(...) and defineElements(...) builder.build_elements() builder.build_equations() builder.build_modes() builder.build_warnings() builder.build_call_functions() builder.prepare_for_print() # ------------------------------------------------------- # Generation of files related to the dynamic model # ------------------------------------------------------- writer = ModelWriter(builder, mod_name, output_dir, package_name) # Fichier C writer.getHead()