[cig-commits] r13768 - cs/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Dec 17 02:33:38 PST 2008
Author: luis
Date: 2008-12-17 02:33:38 -0800 (Wed, 17 Dec 2008)
New Revision: 13768
Modified:
cs/cigma/trunk/src/core_writers.cpp
cs/cigma/trunk/src/core_writers.h
Log:
Updated core_writers.{h,cpp}
Modified: cs/cigma/trunk/src/core_writers.cpp
===================================================================
--- cs/cigma/trunk/src/core_writers.cpp 2008-12-17 10:33:36 UTC (rev 13767)
+++ cs/cigma/trunk/src/core_writers.cpp 2008-12-17 10:33:38 UTC (rev 13768)
@@ -263,7 +263,7 @@
int i,j;
// coordinates first
- TRI_LOG_STR("...writing vtk points");
+ TRI_LOG_STR(">>> Writing vtk points");
const int npts = residuals->meshPart->coords->n_points();
const int ndim = residuals->meshPart->coords->n_dim();
TRI_LOG(npts);
@@ -282,7 +282,7 @@
points.reinit(0,0);
// cells next..
- TRI_LOG_STR("...writing vtk cells");
+ TRI_LOG_STR(">>> Writing vtk cells");
const int nel = residuals->meshPart->connect->n_cells();
const int nno = residuals->meshPart->connect->n_dofs();
TRI_LOG(nel);
@@ -300,7 +300,7 @@
cells.reinit(0,0);
// finally, cell types
- TRI_LOG("...writing vtk cell types");
+ TRI_LOG_STR(">>> Writing vtk cell types");
int vtkCellType = vtkcelltype(residuals->meshPart->getCellType());
TRI_LOG(vtkCellType);
vtk_writer->_writeCellTypes(nel, vtkCellType);
@@ -310,7 +310,7 @@
TRI_LOG_STR("Warning! VTK file will not contain mesh information");
}
- TRI_LOG_STR("...writing residuals dataset as vtk cell data");
+ TRI_LOG_STR(">>> Writing residuals as vtk cell data");
vtk_writer->_writeCellData(location.c_str(), residuals->epsilon, residuals->nel, 1);
}
else if (wt == FileWriter::TEXT_FILE_WRITER)
Modified: cs/cigma/trunk/src/core_writers.h
===================================================================
--- cs/cigma/trunk/src/core_writers.h 2008-12-17 10:33:36 UTC (rev 13767)
+++ cs/cigma/trunk/src/core_writers.h 2008-12-17 10:33:38 UTC (rev 13768)
@@ -15,17 +15,11 @@
namespace cigma
{
void WriteArray(const DataPath& path, const cigma::array<double>& x);
-
void WriteNodeCoordinates(const DataPath& path, boost::shared_ptr<NodeCoordinates> nc);
-
void WriteElementBlock(const DataPath& path, boost::shared_ptr<ElementBlock> eb);
-
void WriteQuadrature(const DataPath& path, boost::shared_ptr<Quadrature> Q);
-
void WriteQPoints(const DataPath& path, const cigma::array<double>& w, const cigma::array<double>& x);
-
void WriteDofs(const DataPath& path, boost::shared_ptr<DofHandler> dofs);
-
void WriteResiduals(const DataPath& path, boost::shared_ptr<Residuals> residuals);
}
More information about the CIG-COMMITS
mailing list