Changeset a150d0 for src/interface/interface_particles.cpp
- Timestamp:
- Apr 25, 2012, 4:21:08 PM (14 years ago)
- Children:
- 7dd744
- Parents:
- b51c3b
- File:
-
- 1 edited
-
src/interface/interface_particles.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/interface/interface_particles.cpp
rb51c3b ra150d0 102 102 vmg_float length; 103 103 Vector dist_vec; 104 InterpolatePolynomial ip(8);105 104 106 105 #ifdef DEBUG_OUTPUT … … 119 118 */ 120 119 const vmg_int& num_particles_local = factory.GetObjectStorageVal<vmg_int>("PARTICLE_NUM_LOCAL"); 121 const int& near_field_cells = factory.GetObjectStorageVal<int>("PARTICLE_NEAR_FIELD_CELLS"); 120 const vmg_int& near_field_cells = factory.GetObjectStorageVal<int>("PARTICLE_NEAR_FIELD_CELLS"); 121 const vmg_int& interpolation_degree = factory.GetObjectStorageVal<int>("PARTICLE_INTERPOLATION_DEGREE"); 122 122 vmg_float* p = factory.GetObjectStorageArray<vmg_float>("PARTICLE_POTENTIAL_ARRAY"); 123 123 vmg_float* f = factory.GetObjectStorageArray<vmg_float>("PARTICLE_FIELD_ARRAY"); 124 125 InterpolatePolynomial ip(interpolation_degree); 124 126 125 127 const vmg_float r_cut = (near_field_cells+0.5) * grid.Extent().MeshWidth().Max();
Note:
See TracChangeset
for help on using the changeset viewer.
