Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread Roy Stogner
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

Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread John Peterson
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? > >

Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread Kirk, Benjamin (JSC-EG311)
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

Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread John Peterson
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

Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread John Peterson
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: //

Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread subramanya sadasiva
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

Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread Kirk, Benjamin (JSC-EG311)
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

Re: [Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread Paul T. Bauman
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

[Libmesh-users] LIBMESH_DIM and TensorValue

2013-11-06 Thread subramanya sadasiva
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 --