Okay, that's good to know.
What I need is simple enough that I can get away with direct GetPot calls.
command_line_point() might not be a bad thing to have, though (IMHO).

Dmitry.

On Wed, Feb 22, 2012 at 4:34 PM, Roy Stogner <[email protected]>wrote:

>
> 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/<http://www.accelacomm.com/jaw/sfnl/114/51521223/>
>>>> ______________________________**_________________
>>>> Libmesh-users mailing list
>>>> Libmesh-users@lists.**sourceforge.net<[email protected]>
>>>> https://lists.sourceforge.net/**lists/listinfo/libmesh-users<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/<http://www.accelacomm.com/jaw/sfnl/114/51521223/>
>> ______________________________**_________________
>> Libmesh-users mailing list
>> Libmesh-users@lists.**sourceforge.net<[email protected]>
>> https://lists.sourceforge.net/**lists/listinfo/libmesh-users<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