Sunday, August 7, 2011

Re: omni and OpenFOAM

Thanks for your reply.

I investigated this again upon receiving your e-mail and I
discovered... to my great surprise that it was only the question of
specifying the namespace or preceding the class name with a proper
namespace.

e.g.
1)
using namespace Foam;

volScalarField f;

f.

works


2)

/*using namespace Foam;*/

Foam::volScalarField f;

f.

works as well

3)
/*using namespace Foam;*/

volScalarField f;

f.

Doesn't work!

Robert


View this message in context: Re: omni and OpenFOAM
Sent from the Vim - General mailing list archive at Nabble.com.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: