diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-05-11 13:43:32 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:20 +0100 |
commit | 23e4f959d74f4e039773a474ade16e43f3959dff (patch) | |
tree | 9a063ad2c4b9e955359f7d0a6b141f2ec3219746 /CarpetDev/CarpetIOF5_standalone | |
parent | fb25367e8f3e97be8537811cd057bb5e81fc3176 (diff) |
Remove all #warning statements
Diffstat (limited to 'CarpetDev/CarpetIOF5_standalone')
4 files changed, 11 insertions, 7 deletions
diff --git a/CarpetDev/CarpetIOF5_standalone/src/IOF5.cc b/CarpetDev/CarpetIOF5_standalone/src/IOF5.cc index 1173f5228..7cbd5c9d5 100644 --- a/CarpetDev/CarpetIOF5_standalone/src/IOF5.cc +++ b/CarpetDev/CarpetIOF5_standalone/src/IOF5.cc @@ -467,7 +467,8 @@ namespace CarpetIOF5 { } { writer_t writer (cctkGH, variable); -#warning "TODO: handle the case where not all processors are writing to their own file" + // TODO: handle the case where not all processors are writing to + // their own file assert (proc == output_processor); assert (file); writer.write (* file); diff --git a/CarpetDev/CarpetIOF5_standalone/src/coordinate_system.cc b/CarpetDev/CarpetIOF5_standalone/src/coordinate_system.cc index e030c08a9..b8d3041cc 100644 --- a/CarpetDev/CarpetIOF5_standalone/src/coordinate_system.cc +++ b/CarpetDev/CarpetIOF5_standalone/src/coordinate_system.cc @@ -125,7 +125,7 @@ namespace CarpetIOF5 { = open_or_create_group (m_topology.get_hdf5_topology(), name); assert (m_hdf5_coordinate_system >= 0); -#warning "TODO: don't output coordinates as attributes" + // TODO: don't output coordinates as attributes write_or_check_attribute (m_hdf5_coordinate_system, "origin", m_level_origin); write_or_check_attribute diff --git a/CarpetDev/CarpetIOF5_standalone/src/f5writer.cc b/CarpetDev/CarpetIOF5_standalone/src/f5writer.cc index b351c7391..cc9c7001f 100644 --- a/CarpetDev/CarpetIOF5_standalone/src/f5writer.cc +++ b/CarpetDev/CarpetIOF5_standalone/src/f5writer.cc @@ -251,7 +251,7 @@ namespace CarpetIOF5 { rootlevel_refinement); } -#warning "TODO: what is this doing?" + // TODO: what is this doing? F5T_REFINEMENT3D_POINT = refinement_path->myChart->Point_hid_t; if (Carpet::is_level_mode()) @@ -303,7 +303,7 @@ namespace CarpetIOF5 { // assert (group >= 0 and group < CCTK_NumGroups()); // F5::physical_quantity_t physical_quantity (coordinate_system, group); -#warning "TODO: this should depend on the patch number" + // TODO: this should depend on the patch number char const * const coordinate_system = NULL; // Depends on the refinement level @@ -326,7 +326,7 @@ namespace CarpetIOF5 { // Global information for this refinement level vect <hsize_t, dim> const level_dims = vect <int, dim>::ref (m_cctkGH->cctk_gsh); -#warning "TODO: switch to double precision" + // TODO: switch to double precision vect <float, dim> const level_min (CCTK_ORIGIN_SPACE(0), CCTK_ORIGIN_SPACE(1), CCTK_ORIGIN_SPACE(2)); vect <float, dim> const level_spacing @@ -419,7 +419,8 @@ namespace CarpetIOF5 { { DECLARE_CCTK_PARAMETERS; -#warning "TODO: use superregions instead of regions (? only if the regions are on the same processor?); use HDF5 chunks as well" + // TODO: use superregions instead of regions (? only if the + // regions are on the same processor?); use HDF5 chunks as well bbox<int,dim> dh::dboxes::* boxptr; if (CCTK_EQUALS (output_regions, "exterior")) diff --git a/CarpetDev/CarpetIOF5_standalone/src/tensor_component.cc b/CarpetDev/CarpetIOF5_standalone/src/tensor_component.cc index 6cd2b6486..3613688e7 100644 --- a/CarpetDev/CarpetIOF5_standalone/src/tensor_component.cc +++ b/CarpetDev/CarpetIOF5_standalone/src/tensor_component.cc @@ -120,7 +120,9 @@ namespace CarpetIOF5 { -#warning "TODO: This assumes that the shape of data is the same as the shape of the region; this may not be so if not all of the data are written out" + // TODO: This assumes that the shape of data is the same as the + // shape of the region; this may not be so if not all of the data + // are written out void tensor_component_t:: write (void const * const data, int const cactus_datatype) |