[cig-commits] r11736 - cs/benchmark/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Apr 2 11:02:02 PDT 2008
Author: luis
Date: 2008-04-02 11:02:02 -0700 (Wed, 02 Apr 2008)
New Revision: 11736
Modified:
cs/benchmark/cigma/trunk/src/CommandSet.cpp
cs/benchmark/cigma/trunk/src/Makefile.am
Log:
Added debug commands to list of commands
Modified: cs/benchmark/cigma/trunk/src/CommandSet.cpp
===================================================================
--- cs/benchmark/cigma/trunk/src/CommandSet.cpp 2008-04-02 18:02:01 UTC (rev 11735)
+++ cs/benchmark/cigma/trunk/src/CommandSet.cpp 2008-04-02 18:02:02 UTC (rev 11736)
@@ -2,15 +2,20 @@
#include <cstdlib>
#include <cassert>
#include "CommandSet.h"
-#include "SkelCmd.h"
+
+/* basic commands */
#include "HelpCmd.h"
#include "ListCmd.h"
-#include "CubeCmd.h"
#include "ExtractCmd.h"
-#include "SearchCmd.h"
#include "EvalCmd.h"
#include "CompareCmd.h"
+/* misc commands for debugging */
+#include "SkelCmd.h"
+#include "CubeCmd.h"
+#include "SearchCmd.h"
+#include "InfoCmd.h"
+
using namespace cigma;
@@ -37,14 +42,21 @@
/* assemble set of commands */
addCommand(help);
- //addCommand(new SkelCmd());
addCommand(new ListCmd());
- addCommand(new CubeCmd());
addCommand(new ExtractCmd());
- addCommand(new SearchCmd());
addCommand(new EvalCmd());
addCommand(new CompareCmd());
+ /* additional commands for debugging */
+ const bool debug = true;
+ if (debug)
+ {
+ //addCommand(new SkelCmd());
+ addCommand(new CubeCmd());
+ addCommand(new SearchCmd());
+ addCommand(new InfoCmd());
+ }
+
/* once assembled, pass set of commands to help command */
help->setCommandSet(this);
}
Modified: cs/benchmark/cigma/trunk/src/Makefile.am
===================================================================
--- cs/benchmark/cigma/trunk/src/Makefile.am 2008-04-02 18:02:01 UTC (rev 11735)
+++ cs/benchmark/cigma/trunk/src/Makefile.am 2008-04-02 18:02:02 UTC (rev 11736)
@@ -72,8 +72,6 @@
QuadraturePoints.cpp \
QuadratureRule.h \
QuadratureRule.cpp \
- FE.h \
- FE.cpp \
\
MeshPart.h \
MeshPart.cpp \
@@ -85,6 +83,8 @@
\
Field.h \
Field.cpp \
+ FieldSet.h \
+ FieldSet.cpp \
NullField.h \
NullField.cpp \
FE_Field.h \
@@ -95,6 +95,8 @@
ExtField.cpp \
ZeroField.h \
ZeroField.cpp \
+ GaleBenchmarkFields.h \
+ GaleBenchmarkFields.cpp \
\
Residuals.h \
Residuals.cpp \
@@ -143,23 +145,26 @@
Command.cpp \
CommandSet.h \
CommandSet.cpp \
- SkelCmd.h \
- SkelCmd.cpp \
HelpCmd.h \
HelpCmd.cpp \
ListCmd.h \
ListCmd.cpp \
- CubeCmd.h \
- CubeCmd.cpp \
ExtractCmd.h \
ExtractCmd.cpp \
- SearchCmd.h \
- SearchCmd.cpp \
EvalCmd.h \
EvalCmd.cpp \
CompareCmd.h \
CompareCmd.cpp \
\
+ SkelCmd.h \
+ SkelCmd.cpp \
+ CubeCmd.h \
+ CubeCmd.cpp \
+ SearchCmd.h \
+ SearchCmd.cpp \
+ InfoCmd.h \
+ InfoCmd.cpp \
+ \
AnyOption.h \
AnyOption.cpp \
convert.h \
More information about the cig-commits
mailing list