View Issue Details

IDProjectCategoryView StatusLast Update
0000483OpenFOAMBugpublic2012-04-02 12:03
Reporteruser401Assigned Touser4 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Summary0000483: Function compilation call error
Descriptionin file src/finiteVolume/finiteVolume/snGradSchemes/quadraticFitSnGrad/quadraticFitSnGrad.H in function
        virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
        correction(const GeometricField<Type, fvPatchField, volMesh>& vf) const

there is a call to
            const extendedCellToFaceStencil& stencil = qfd.stencil();
            const List<scalarList>& f = qfd.fit();
 
            tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > sft
                = stencil.weightedSum(vf, f);

the problem is that class "extendedCellToFaceStencil" does not have function named "weightedSum" which gets 2 parameters. The only function is

src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCellToFaceStencil.H:
        
        template<class Type>
        static tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
        weightedSum
        (
            const mapDistribute& map,
            const labelListList& stencil,
            const GeometricField<Type, fvPatchField, volMesh>& fld,
            const List<List<scalar> >& stencilWeights
        );


This function gets 4 parameters
Therefore I get a compilation error on this line
TagsNo tags attached.

Activities

henry

2012-03-30 18:05

manager   ~0001205

Note in src/finiteVolume/Make/files:

/*
$(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGradData.C
$(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGrads.C
*/

i.e. these files to not currently compile and are delayed WIP.

user401

2012-03-30 18:39

  ~0001206

O, I have missed it
Thank you for your reply.

user4

2012-04-02 12:03

  ~0001209

Code removed in commit 2dee27ac40227403ab44af1c90a3506b958c9c1a.

Thanks for reporting.

Issue History

Date Modified Username Field Change
2012-03-25 10:11 user401 New Issue
2012-03-30 18:05 henry Note Added: 0001205
2012-03-30 18:39 user401 Note Added: 0001206
2012-04-02 12:03 user4 Note Added: 0001209
2012-04-02 12:03 user4 Status new => resolved
2012-04-02 12:03 user4 Fixed in Version => 2.1.x
2012-04-02 12:03 user4 Resolution open => fixed
2012-04-02 12:03 user4 Assigned To => user4