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 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: marupio
Forum: OpenFOAM Programming & Development September 25, 2012, 10:01
Replies: 3
Views: 5,185
Posted By marupio
If you replace the forAll loop with a pointer...

If you replace the forAll loop with a pointer loop, it will be about 10x faster. OpenFOAM implements these in src\OpenFOAM\fields\Fields\Field\FieldM.H... but this will make your code ugly and...
Forum: OpenFOAM Programming & Development September 24, 2012, 16:29
Replies: 3
Views: 5,185
Posted By marupio
I'm confused. Why does "<<...

I'm confused. Why does "<< scalarFields_[fieldI]" output the field name? It should output the field data in list form. This makes me wonder what scalarFields_ is.

Why are you copying the data...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 10:51.