[cig-commits] r11201 - cs/benchmark/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Feb 20 05:12:43 PST 2008
Author: luis
Date: 2008-02-20 05:12:42 -0800 (Wed, 20 Feb 2008)
New Revision: 11201
Modified:
cs/benchmark/cigma/trunk/src/FE_Field.cpp
Log:
How to handle a bad point from a call to Field::eval()?
* For now, stay with assert statement
Modified: cs/benchmark/cigma/trunk/src/FE_Field.cpp
===================================================================
--- cs/benchmark/cigma/trunk/src/FE_Field.cpp 2008-02-20 13:12:41 UTC (rev 11200)
+++ cs/benchmark/cigma/trunk/src/FE_Field.cpp 2008-02-20 13:12:42 UTC (rev 11201)
@@ -54,7 +54,7 @@
int e;
bool found_cell = false;
found_cell = meshPart->find_cell(point, &e);
- assert(found_cell);
+ assert(found_cell); // XXX: how to handle... throw exception?
// use dofs as weights on the shape function values
const int ndofs = cell->n_nodes();
More information about the cig-commits
mailing list