View Issue Details

IDProjectCategoryView StatusLast Update
0002313OpenFOAM[All Projects] Bugpublic2016-10-31 16:01
ReporteramikkonenAssigned Tohenry 
PrioritylowSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Versiondev 
Summary0002313: codedFunctionObject.H description contains errors
DescriptionCurrent description contains:

45 \verbatim
46 difference
47 {
48 libs ("libutilityFunctionObjects.so");
49
50 type coded;
51 // Name of on-the-fly generated functionObject
52 name writeMagU;
53 codeWrite
54 #{
55 // Lookup U
56 const volVectorField& U = mesh().lookupObject<volVectorField>("U");
57 // Write
58 mag(U).write();
59 }
60 }
61 \endverbatim

This fails to compile.

Problems:
1) Line 59 should contain: "#};".
2) On line 58 the "write()" method does not exist.
TagsNo tags attached.

Activities

henry

2016-10-31 16:01

manager   ~0007082

Resolved by commit c8ab53dc4daf2f07080306060a3c707b529350d4

Issue History

Date Modified Username Field Change
2016-10-31 15:00 amikkonen New Issue
2016-10-31 16:01 henry Assigned To => henry
2016-10-31 16:01 henry Status new => resolved
2016-10-31 16:01 henry Resolution open => fixed
2016-10-31 16:01 henry Fixed in Version => dev
2016-10-31 16:01 henry Note Added: 0007082