[MOAB-dev] r1941 - MOAB/trunk/tools/mbcoupler
Jason Kraftcheck
kraftche at cae.wisc.edu
Fri Jun 27 13:24:41 CDT 2008
Tim Tautges wrote:
> Huh? Doesn't this remove MBCoupler.cpp from the build? Looks that way
> to me...
>
Oops. I didn't mean to check that in. I need to remove MBCoupler.cpp from
my local (non-parallel) builds because it depends (indirectly?) on MPI.
- jason
> - tim
>
> kraftche at mcs.anl.gov wrote:
>> Author: kraftche
>> Date: 2008-06-27 13:18:06 -0500 (Fri, 27 Jun 2008)
>> New Revision: 1941
>>
>> Modified:
>> MOAB/trunk/tools/mbcoupler/Makefile.am
>> MOAB/trunk/tools/mbcoupler/findpt_test.cpp
>> Log:
>> fix build errors
>>
>> Modified: MOAB/trunk/tools/mbcoupler/Makefile.am
>> ===================================================================
>> --- MOAB/trunk/tools/mbcoupler/Makefile.am 2008-06-27 17:06:29 UTC
>> (rev 1940)
>> +++ MOAB/trunk/tools/mbcoupler/Makefile.am 2008-06-27 18:18:06 UTC
>> (rev 1941)
>> @@ -19,8 +19,8 @@
>> findpt.c \
>> findpt.h \
>> minmax.h \
>> - types.h \
>> - MBCoupler.cpp
>> + types.h #\
>> + #MBCoupler.cpp
>>
>> libmbcoupler_la_include_HEADERS = \
>> MBElemUtil.hpp \
>>
>> Modified: MOAB/trunk/tools/mbcoupler/findpt_test.cpp
>> ===================================================================
>> --- MOAB/trunk/tools/mbcoupler/findpt_test.cpp 2008-06-27 17:06:29
>> UTC (rev 1940)
>> +++ MOAB/trunk/tools/mbcoupler/findpt_test.cpp 2008-06-27 18:18:06
>> UTC (rev 1941)
>> @@ -2,6 +2,7 @@
>> #include "MBElemUtil.hpp"
>>
>> using namespace std;
>> +using namespace MBElemUtil;
>>
>>
>> extern "C"{
>> @@ -9,6 +10,7 @@
>> #include "types.h"
>> }
>>
>> +
>> void test_hex_findpt()
>> {
>>
>> @@ -16,8 +18,6 @@
>> MBCartVect rst;
>> double dist;
>>
>> - MBElemUtil u;
>> -
>> double *xm[3]; //element coord fields, lex ordering
>> const int n=5; //number of nodes per direction (min is 2, for
>> linear element)
>>
>> @@ -41,7 +41,7 @@
>> }
>> }
>> - u.hex_findpt(xm, n, xyz, rst, dist);
>> + hex_findpt(xm, n, xyz, rst, dist);
>>
>>
>> cout << "Coords of " << xyz << " are: "<< rst <<
>> @@ -58,8 +58,6 @@
>> MBCartVect ncoords;;
>> double etol;
>> - MBElemUtil u;
>> - //Make our sample hex the unit cube [0,1]**3
>> hex[0] = MBCartVect(0,0,0);
>> hex[1] = MBCartVect(1,0,0);
>> @@ -72,7 +70,7 @@
>>
>> etol = .1 ; //ignored by nat_coords
>>
>> - u.nat_coords_trilinear_hex2(hex, xyz, ncoords, etol);
>> + nat_coords_trilinear_hex2(hex, xyz, ncoords, etol);
>> cout << "Coords of " << xyz << " are: "<< ncoords << endl;
>>
>>
>>
>
--
"A foolish consistency is the hobgoblin of little minds" - Ralph Waldo Emerson
More information about the moab-dev
mailing list