20.07.2015 Views

PhD Thesis - staffweb - University of Greenwich

PhD Thesis - staffweb - University of Greenwich

PhD Thesis - staffweb - University of Greenwich

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX 5 : DATA DICTIONARY FOR GEOMETRY CLASSES IN SMARTFIREGROUP CLASSThe group class objects maintain a list <strong>of</strong> cell indices that constitute a special grouping that shouldhave different solution techniques applied. The range <strong>of</strong> different conditions that can be applied islimited at present however these can still be useful in situations where the prevailing conditionswithin a group are radically different from another group.class Group_Class {public://==> The global number <strong>of</strong> this group.Int_Type group_number;//==> The total number <strong>of</strong> cells in this group.Int_Type num_cells_in_group;//==> An array <strong>of</strong> indices <strong>of</strong> all <strong>of</strong> the cells in this group.Int_Type * group_cell;// Methods//==> Constructor needs to know the number <strong>of</strong> this group and the number <strong>of</strong> cells initially i nthe group.Group_Class( Int_Type, Int_Type );//==> The destructor.~Group_Class( void );//==> An internal function used to garbage collect in a modified group.void compact_list( void );//==> An internal function used to add more storage to a group.void extend_storage( Int_Type );//==> An internal garbage collection routine.void contract_storage( Int_Type );//==> A function to search for a global cell index and report its presence in this group.Logical find_index( Int_Type, Int_Type& );//==> Internal function adds the cell index to this group.void add_cell( Int_Type );Appendix 11.5 Page 145-20 20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!