[MOAB-dev] Fortran interface to iMesh_CreateEntSet

Tim Tautges tautges at mcs.anl.gov
Mon Nov 21 11:55:03 CST 2011


The literal constant is fine; it's passing rpcoor by reference that's the problem here, it should be passed by value.

I'll look at the code to see what's going on.

- tim

On 11/21/2011 08:53 AM, Paul Wilson wrote:
> Hi all,
>
> I'm not an expert on the calling interface, but any change it doesn't like you using the %VAL() construct on literal
> constant?
>
> On 11/21/2011 08:49 AM, Iulian Grindeanu wrote:
>> call iMesh_createEntSet(%VAL(mesh), %VAL(1), &
>> sethand,ier)
> What about:
>
> *myVariable = 1*
> call iMesh_createEntSet(%VAL(mesh), %VAL(*myVariable*), &
> sethand,ier)
>
> I'm just guessing!!!
>
> Paul
>
> --
> -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
> Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal:http://bit.ly/pphw-cal
> Associate Professor, Engineering Physics. ~http://cnerg.engr.wisc.edu
> Chair, Energy Analysis&  Policy Program ~http://nelson.wisc.edu/eap
>

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
  phone (gvoice): (608) 354-1459      1500 Engineering Dr.
             fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list