[cig-commits] r13726 - cs/cigma/trunk/src

luis at geodynamics.org luis at geodynamics.org
Wed Dec 17 02:32:17 PST 2008


Author: luis
Date: 2008-12-17 02:32:16 -0800 (Wed, 17 Dec 2008)
New Revision: 13726

Modified:
   cs/cigma/trunk/src/DofHandler.cpp
   cs/cigma/trunk/src/FE.cpp
   cs/cigma/trunk/src/Field.cpp
Log:
Updated logs (use '()' to denote function call)

Modified: cs/cigma/trunk/src/DofHandler.cpp
===================================================================
--- cs/cigma/trunk/src/DofHandler.cpp	2008-12-17 10:32:15 UTC (rev 13725)
+++ cs/cigma/trunk/src/DofHandler.cpp	2008-12-17 10:32:16 UTC (rev 13726)
@@ -13,7 +13,7 @@
 
 shared_ptr<DofHandler> DofHandler::New(const DataPath& dofs_path)
 {
-    TRI_LOG_STR("DofHandler::New");
+    TRI_LOG_STR("DofHandler::New()");
 
     shared_ptr<DofHandler> dofs;
 
@@ -93,7 +93,7 @@
 
 void DofHandler::setPath(const DataPath& p_dofs)
 {
-    TRI_LOG_STR("DofHandler::setPath");
+    TRI_LOG_STR("DofHandler::setPath()");
     TRI_LOG(p_dofs);
 
     string filename = p_dofs.filename();
@@ -105,6 +105,7 @@
     if (rt == FileReader::HDF5_FILE_READER)
     {
         int status = reader->getDataset(location.c_str(), &dofs, &nno, &rank);
+        TRI_LOG(status);
         if (status < 0)
         {
             std::ostringstream stream;

Modified: cs/cigma/trunk/src/FE.cpp
===================================================================
--- cs/cigma/trunk/src/FE.cpp	2008-12-17 10:32:15 UTC (rev 13725)
+++ cs/cigma/trunk/src/FE.cpp	2008-12-17 10:32:16 UTC (rev 13726)
@@ -11,7 +11,7 @@
 
 shared_ptr<FE> FE::New(const FE_Info& fe_info)
 {
-    TRI_LOG_STR("FE::New");
+    TRI_LOG_STR("FE::New()");
 
     shared_ptr<FE> fe;
 
@@ -119,7 +119,7 @@
 
 void FE::setCell(string cell_name)
 {
-    TRI_LOG_STR("FE::setCell");
+    TRI_LOG_STR("FE::setCell()");
 
     if (!quadrature)
     {
@@ -135,7 +135,7 @@
 
 void FE::setQuadPath(const DataPath& p_quad)
 {
-    TRI_LOG_STR("FE::setQuadPath");
+    TRI_LOG_STR("FE::setQuadPath()");
 
     if (!quadrature)
     {
@@ -148,7 +148,7 @@
 
 void FE::setQuadPath2(const DataPath& p_weights, const DataPath& p_points)
 {
-    TRI_LOG_STR("FE::setQuadPath2");
+    TRI_LOG_STR("FE::setQuadPath2()");
 
     if (!quadrature)
     {
@@ -162,7 +162,7 @@
 
 void FE::setBasisAtQuad(const DataPath& p_basis)
 {
-    TRI_LOG_STR("FE::setBasisAtQuad");
+    TRI_LOG_STR("FE::setBasisAtQuad()");
 
     if (cell && quadrature)
     {

Modified: cs/cigma/trunk/src/Field.cpp
===================================================================
--- cs/cigma/trunk/src/Field.cpp	2008-12-17 10:32:15 UTC (rev 13725)
+++ cs/cigma/trunk/src/Field.cpp	2008-12-17 10:32:16 UTC (rev 13726)
@@ -13,7 +13,7 @@
 
 shared_ptr<Field> Field::NewField(const FieldInfo& field_info)
 {
-    TRI_LOG_STR("Field::NewField");
+    TRI_LOG_STR("Field::NewField()");
 
     shared_ptr<Field> field;
     
@@ -115,7 +115,7 @@
 
 void Field::setDofsPath(const DataPath& p_dofs)
 {
-    TRI_LOG_STR("Field::setDofsPath");
+    TRI_LOG_STR("Field::setDofsPath()");
     TRI_LOG(p_dofs);
 
     if (!dofs)
@@ -128,7 +128,7 @@
 
 void Field::setMeshPath(const DataPath& p_mesh)
 {
-    TRI_LOG_STR("Field::setMeshPath");
+    TRI_LOG_STR("Field::setMeshPath()");
     TRI_LOG(p_mesh);
 
     if (!mesh)
@@ -141,7 +141,7 @@
 
 void Field::setMeshPath2(const DataPath& p_nc, const DataPath& p_eb)
 {
-    TRI_LOG_STR("Field::setMeshPart2");
+    TRI_LOG_STR("Field::setMeshPart2()");
     TRI_LOG(p_nc);
     TRI_LOG(p_eb);
 
@@ -155,7 +155,7 @@
 
 void Field::setCell(string cell_name)
 {
-    TRI_LOG_STR("Field::setCell");
+    TRI_LOG_STR("Field::setCell()");
     TRI_LOG(cell_name);
 
     if (!fe)
@@ -170,7 +170,7 @@
 
 void Field::setQuadPath(const DataPath& p_quad)
 {
-    TRI_LOG_STR("Field::setQuadPath");
+    TRI_LOG_STR("Field::setQuadPath()");
     TRI_LOG(p_quad);
 
     if (!fe)
@@ -183,7 +183,7 @@
 
 void Field::setQuadPath2(const DataPath& p_weights, const DataPath& p_points)
 {
-    TRI_LOG_STR("Field::setQuadPath2");
+    TRI_LOG_STR("Field::setQuadPath2()");
     TRI_LOG(p_weights);
     TRI_LOG(p_points);
 
@@ -197,7 +197,7 @@
 
 void Field::setBasisAtQuad(const DataPath& p_basis)
 {
-    TRI_LOG_STR("Field::setBasisAtQuad");
+    TRI_LOG_STR("Field::setBasisAtQuad()");
     TRI_LOG(p_basis);
 
     if (!fe)



More information about the CIG-COMMITS mailing list