[cig-commits] r13750 - cs/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Dec 17 02:33:04 PST 2008
Author: luis
Date: 2008-12-17 02:33:04 -0800 (Wed, 17 Dec 2008)
New Revision: 13750
Modified:
cs/cigma/trunk/src/core_compare_op.cpp
cs/cigma/trunk/src/core_compare_op.h
Log:
Clean up CompareOp
Modified: cs/cigma/trunk/src/core_compare_op.cpp
===================================================================
--- cs/cigma/trunk/src/core_compare_op.cpp 2008-12-17 10:33:02 UTC (rev 13749)
+++ cs/cigma/trunk/src/core_compare_op.cpp 2008-12-17 10:33:04 UTC (rev 13750)
@@ -26,48 +26,9 @@
{
}
-static bool is_vtk(const DataPath& dp)
-{
- return is_vtk_extension(dp.extension().c_str());
-}
-
-static bool is_hdf5(const DataPath& dp)
-{
- return is_hdf5_extension(dp.extension().c_str());
-}
-
-static bool is_text(const DataPath& dp)
-{
- return is_text_extension(dp.extension().c_str());
-}
-
void CompareOp::configure()
{
TRI_LOG_STR("CompareOp::configure()");
-
-
- //
- // Preliminary processing
- //
-
- TRI_LOG_STR(">> Preparing info arguments");
-
- if (is_vtk(first_info.field_info.p_field))
- {
- if (first_info.field_info.mesh_info.empty())
- {
- first_info.field_info.mesh_info.p_mesh = DataPath(first_info.field_info.p_field.filename());
- }
- }
-
- if (is_vtk(second_info.field_info.p_field))
- {
- if (second_info.field_info.mesh_info.empty())
- {
- second_info.field_info.mesh_info.p_mesh = DataPath(second_info.field_info.p_field.filename());
- }
- }
-
TRI_LOG(first_info);
TRI_LOG(second_info);
TRI_LOG(domain_info);
Modified: cs/cigma/trunk/src/core_compare_op.h
===================================================================
--- cs/cigma/trunk/src/core_compare_op.h 2008-12-17 10:33:02 UTC (rev 13749)
+++ cs/cigma/trunk/src/core_compare_op.h 2008-12-17 10:33:04 UTC (rev 13750)
@@ -24,7 +24,6 @@
void configure();
int run();
- /* XXX: convenience setters for info structs */
public:
More information about the CIG-COMMITS
mailing list