CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: olesen
Forum: OpenFOAM July 14, 2010, 02:35
Replies: 12
Views: 3,444
Posted By olesen
Okay, now I see what you are trying to do ... it...

Okay, now I see what you are trying to do ... it won't work the way you are attempting it though. Use methods instead of accessing the variables directly and you'll get what you want. Here's a...
Forum: OpenFOAM July 13, 2010, 12:52
Replies: 12
Views: 3,444
Posted By olesen
I think you are having a slight misunderstanding...

I think you are having a slight misunderstanding here. If you declare the variable as 'static const' this means two things:
- static = it will be available directly without a class instance
- const...
Forum: OpenFOAM July 13, 2010, 12:34
Replies: 12
Views: 3,444
Posted By olesen
You have multiple problems. 1. You declare and...

You have multiple problems.
1. You declare and use nacLocation within the constructor, which will obviously mask the class-level variable.
2. Making nacLocation static means that you cannot really...
Forum: OpenFOAM July 13, 2010, 02:19
Replies: 12
Views: 3,444
Posted By olesen
Not a pointer, but a (const or non-const)...

Not a pointer, but a (const or non-const) reference. As an example you can take a look at src/turbulenceModels/compressible/turbulenceModel/turbulenceModel.{C,H} for an idea. Note that you'll need a...
Forum: OpenFOAM July 9, 2010, 03:23
Replies: 12
Views: 3,444
Posted By olesen
If you don't have anything that somehow resolves...

If you don't have anything that somehow resolves to an objectRegistry, you'll have great difficulty obtaining the IOobject that you need for the IOdictionary ... and difficulties registering that...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 20:35.