[MOAB-dev] commit/MOAB: vijaysm: Updating the DagMC test to conform to API change.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sun Jul 13 21:33:27 CDT 2014


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/ce71dc160fd2/
Changeset:   ce71dc160fd2
Branch:      vijaysm/memory_api_llu
User:        vijaysm
Date:        2014-07-14 04:30:21
Summary:     Updating the DagMC test to conform to API change.

Affected #:  1 file

diff --git a/tools/dagmc/ray_fire_test.cc b/tools/dagmc/ray_fire_test.cc
index cc73a38..e7496af 100644
--- a/tools/dagmc/ray_fire_test.cc
+++ b/tools/dagmc/ray_fire_test.cc
@@ -500,9 +500,9 @@ void write_obbtree_histogram( EntityHandle root, OrientedBoxTreeTool& tree, std:
 
 }
 
-void moab_memory_estimates( Interface* mbi, int& moab_data_bytes, int& moab_alldata_est_bytes ){
+void moab_memory_estimates( Interface* mbi, unsigned long long& moab_data_bytes, unsigned long long& moab_alldata_est_bytes ){
   
-  unsigned long storage, amortized_storage;
+  unsigned long long storage, amortized_storage;
   mbi->estimated_memory_use( NULL, 0, &storage, &amortized_storage );
 
   moab_data_bytes = storage;
@@ -550,7 +550,7 @@ void dump_pyfile( char* filename, double timewith, double timewithout, double tm
     DICT_VAL(timewith-timewithout);
   }
   DICT_VAL(tmem);
-  int moab_data_bytes, moab_alldata_est_bytes;
+  unsigned long long moab_data_bytes, moab_alldata_est_bytes;
   moab_memory_estimates( dagmc.moab_instance(), moab_data_bytes, moab_alldata_est_bytes );
   DICT_VAL( moab_data_bytes );
   DICT_VAL( moab_alldata_est_bytes );

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list