[cig-commits] commit: Pat and Dave:
Mercurial
hg at geodynamics.org
Mon Nov 24 11:30:22 PST 2008
changeset: 18:62ed03078406
user: DavidLee
date: Wed Jun 27 00:32:30 2007 +0000
files: Weights/tests/plugins/testElementIntegral.c
description:
Pat and Dave:
Changes to the FeVariable class to allow checking vs reference solution:
* Moved the check of importExport format filters to the Build phase - in several
months since this was last used, the ordering has changed, and Plugins only get
constructed AFTER FeVariables from the XML. Thus, we needed to allow plugins a
chance to register new import/export filters, BEFORE FeVariables check that the
user-specified filter for an FeVariable exists correctly.
* Allowing the user to set up an FeVariable as a "Reference" FeVariable - i.e. it
loads its values from a filename, regardless of whether checkpointing is enabled.
This is turned on/off in the XML via a Boolean on each FeVariable - off by default.
Fixing an OperatorFeVariable issue:
* Allowed OperatorFeVariables to reference the DofLayout of the FeVariable that they
operate on (necessary for the gradient operator.)
diff -r 77e0afbfff10 -r 62ed03078406 Weights/tests/plugins/testElementIntegral.c
--- a/Weights/tests/plugins/testElementIntegral.c Wed Jun 27 00:31:44 2007 +0000
+++ b/Weights/tests/plugins/testElementIntegral.c Wed Jun 27 00:32:30 2007 +0000
@@ -38,7 +38,7 @@
** License along with this library; if not, write to the Free Software
** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
**
-** $Id: testElementIntegral.c 466 2007-05-22 04:27:01Z LukeHodkinson $
+** $Id: testElementIntegral.c 476 2007-06-27 00:32:30Z DavidLee $
**
**~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@@ -176,7 +176,7 @@ void PICellerator_testElementIntegral( D
/* Create FeVariable */
feVariable = FeVariable_New_Full( "feVariable", mesh, NULL, NULL, NULL, NULL, NULL, NULL,
1, context->dim, False, StgFEM_Native_ImportExportType, StgFEM_Native_ImportExportType,
- MPI_COMM_WORLD, context->fieldVariable_Register );
+ False, False, MPI_COMM_WORLD, context->fieldVariable_Register );
funcName = Dictionary_GetString( context->dictionary, "FunctionName" );
if ( strcasecmp( funcName, "ShapeFunction" ) == 0 ) {
More information about the CIG-COMMITS
mailing list