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

luis at geodynamics.org luis at geodynamics.org
Tue Dec 9 18:14:14 PST 2008


Author: luis
Date: 2008-12-09 18:14:13 -0800 (Tue, 09 Dec 2008)
New Revision: 13556

Modified:
   cs/cigma/trunk/src/DofHandler.cpp
   cs/cigma/trunk/src/FE.cpp
   cs/cigma/trunk/src/Field.cpp
   cs/cigma/trunk/src/Function.cpp
   cs/cigma/trunk/src/MeshPart.cpp
Log:
Make sure we log calls to each of the factory methods

Modified: cs/cigma/trunk/src/DofHandler.cpp
===================================================================
--- cs/cigma/trunk/src/DofHandler.cpp	2008-12-10 02:14:12 UTC (rev 13555)
+++ cs/cigma/trunk/src/DofHandler.cpp	2008-12-10 02:14:13 UTC (rev 13556)
@@ -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;
 

Modified: cs/cigma/trunk/src/FE.cpp
===================================================================
--- cs/cigma/trunk/src/FE.cpp	2008-12-10 02:14:12 UTC (rev 13555)
+++ cs/cigma/trunk/src/FE.cpp	2008-12-10 02:14:13 UTC (rev 13556)
@@ -155,6 +155,8 @@
 
 void FE::setBasisAtQuad(const DataPath& p_basis)
 {
+    TRI_LOG_STR("FE::setBasisAtQuad");
+
     if (cell && quadrature)
     {
         if (p_basis.empty())

Modified: cs/cigma/trunk/src/Field.cpp
===================================================================
--- cs/cigma/trunk/src/Field.cpp	2008-12-10 02:14:12 UTC (rev 13555)
+++ cs/cigma/trunk/src/Field.cpp	2008-12-10 02:14:13 UTC (rev 13556)
@@ -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(new Field);
     

Modified: cs/cigma/trunk/src/Function.cpp
===================================================================
--- cs/cigma/trunk/src/Function.cpp	2008-12-10 02:14:12 UTC (rev 13555)
+++ cs/cigma/trunk/src/Function.cpp	2008-12-10 02:14:13 UTC (rev 13556)
@@ -12,8 +12,9 @@
 
 shared_ptr<Function> Function::New(std::string fn_name)
 {
-    TRI_LOG_STR("Function::New()");
+    TRI_LOG_STR("Function::New");
     TRI_LOG(fn_name);
+
     FunctionInfo info;
     info.fn_name = fn_name;
     return Function::NewFunction(info);
@@ -21,7 +22,7 @@
 
 shared_ptr<Function> Function::NewFunction(const FunctionInfo& fn_info)
 {
-    TRI_LOG_STR("Function::NewFunction()");
+    TRI_LOG_STR("Function::NewFunction");
 
     // XXX: if not found, try to instantiate Explicit, or load from shared library
 

Modified: cs/cigma/trunk/src/MeshPart.cpp
===================================================================
--- cs/cigma/trunk/src/MeshPart.cpp	2008-12-10 02:14:12 UTC (rev 13555)
+++ cs/cigma/trunk/src/MeshPart.cpp	2008-12-10 02:14:13 UTC (rev 13556)
@@ -14,7 +14,8 @@
 
 shared_ptr<MeshPart> MeshPart::New(const MeshInfo& mesh_info)
 {
-    //TRI_LOG_STR("MeshPart::New()");
+    TRI_LOG_STR("MeshPart::New");
+
     shared_ptr<MeshPart> mesh;
 
     if (mesh_info.p_mesh)



More information about the CIG-COMMITS mailing list