On Wed, 6 Nov 2013, John Peterson wrote:
> On Wed, Nov 6, 2013 at 9:26 AM, Kirk, Benjamin (JSC-EG311) <
> [email protected]> wrote:
>
>> You can configure with
>>
>> $ ./configure -enable-1D-only
>> or
>> $ ./configure -enable-2D-only
>>
>> which will define LIBMESH_DIM=1 or LIBMESH_DIM=2 i
On Wed, Nov 6, 2013 at 9:41 AM, Kirk, Benjamin (JSC-EG311) <
[email protected]> wrote:
> On Nov 6, 2013, at 10:38 AM, John Peterson
> wrote:
>
> > This seems inconsistent?
> >
> > Should we only define it in one place, probably libmesh_config.h,
> regardless of whether it's 1, 2, or 3D?
>
>
On Nov 6, 2013, at 10:38 AM, John Peterson
wrote:
> This seems inconsistent?
>
> Should we only define it in one place, probably libmesh_config.h, regardless
> of whether it's 1, 2, or 3D?
Yeah, that's a little crusty and something I should have consolidated in the
automake cleanup…
We sho
On Wed, Nov 6, 2013 at 9:26 AM, Kirk, Benjamin (JSC-EG311) <
[email protected]> wrote:
> You can configure with
>
> $ ./configure -enable-1D-only
>
> or
>
> $ ./configure -enable-2D-only
>
> which will define LIBMESH_DIM=1 or LIBMESH_DIM=2 in libmesh_config.h, the
> definition in libmesh_com
On Wed, Nov 6, 2013 at 9:18 AM, subramanya sadasiva wrote:
> HI, I was looking to use TensorValue for an elasticity and I noticed the
> LIBMESH_DIM constant. Is this set when I build libmesh or when I compile
> individual programs. Thanks, Subramanya
>
include/base/libmesh_common.h line 492:
//
Thanks, That makes sense.
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [Libmesh-users] LIBMESH_DIM and TensorValue
> Date: Wed, 6 Nov 2013 16:26:15 +
>
> You can configure with
>
> $ ./config
You can configure with
$ ./configure -enable-1D-only
or
$ ./configure -enable-2D-only
which will define LIBMESH_DIM=1 or LIBMESH_DIM=2 in libmesh_config.h, the
definition in libmesh_common.h is a fallback default.
On Nov 6, 2013, at 10:18 AM, subramanya sadasiva wrote:
> HI, I was looking
On Wed, Nov 6, 2013 at 10:18 AM, subramanya sadasiva wrote:
> HI, I was looking to use TensorValue for an elasticity and I noticed the
> LIBMESH_DIM constant. Is this set when I build libmesh or when I compile
> individual programs.
When you build libMesh. It defaults to 3, but you can configure
HI, I was looking to use TensorValue for an elasticity and I noticed the
LIBMESH_DIM constant. Is this set when I build libmesh or when I compile
individual programs. Thanks, Subramanya
--