Despite the fact that we've forked GetPot, I've been trying to avoid
making it too libMesh-dependent - everything specific to us is in
those 30 "#ifdef USE_LIBMESH" lines at the top.  Unfortunately that
precludes adding simple accessor functions for Points etc, unless we
someday write a whole libMeshGetPot subclass which adds those.

Sorry about the hassle.
---
Roy

On Wed, 22 Feb 2012, Dmitry Karpeev wrote:

> Okay, thanks, Cody.
> Good to know.  It doesn't seem to be hard to do.
> Dmitry.
>
> On Wed, Feb 22, 2012 at 3:59 PM, Cody Permann <[email protected]> wrote:
>
>> I'm fairly certain there's not a wrapper in libMesh for doing this
>> automatically.  We've created one in MOOSE for reading and creating various
>> vector types like RealVectorValue from an input file but you will probably
>> have to write a little bit of GetPot code to do this on the command line in
>> libMesh.
>>
>> Cody
>>
>> On Wed, Feb 22, 2012 at 2:49 PM, Dmitry Karpeev <[email protected]>wrote:
>>
>>> Dear All,
>>>
>>> Is there an easy way to read in something like --center_point 0.5 0.5 0.5
>>> in libMesh?
>>> command_line_value() doesn't help here and I've decided that I have to
>>> make
>>> direct GetPot calls
>>> (actually, wrap them as 'command_line_vector()'), but I wanted to make
>>> sure
>>> that I'm not missing
>>> a nice way to do this that might already exist in libMesh.
>>>
>>> Thanks.
>>> Dmitry.
>>>
>>> ------------------------------------------------------------------------------
>>> Virtualization & Cloud Management Using Capacity Planning
>>> Cloud computing makes use of virtualization - but cloud computing
>>> also focuses on allowing computing to be delivered as a service.
>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>> _______________________________________________
>>> Libmesh-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>>>
>>
>>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to