View Issue Details

IDProjectCategoryView StatusLast Update
0003463OpenFOAMBugpublic2020-06-02 18:45
ReporterFederico MunicchiAssigned Tohenry 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version18.04
Product Version7 
Fixed in Versiondev 
Summary0003463: Incorrect template for PrimitivePatch in patchToPatchInterpolation.H
DescriptionTemplate for PrimitivePatch in typedef
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/src/OpenFOAM/interpolations/patchToPatchInterpolation/patchToPatchInterpolation.H#L41
does not comply with current definition of PrimitivePatch
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.H#L81
but it still has the old template
https://github.com/OpenFOAM/OpenFOAM-6/blob/master/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.H#L81

Therefore, the code in
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/src/OpenFOAM/interpolations/patchToPatchInterpolation/patchToPatchInterpolation.H
does not compile when included in an application (it is never included in any of the native applications/library).
Steps To ReproduceSimply adding
#include "patchToPatchInterpolation.H"
to any application will reproduce the error.
I attached a simple example for your convenience.
TagsNo tags attached.

Relationships

has duplicate 0003501 closedhenry bug patchToPatchInterpolation.H 

Activities

Federico Municchi

2020-02-29 14:28

reporter  

OpenFoamBugInterpolationTemplates.zip (2,137 bytes)

henry

2020-02-29 15:14

manager   ~0011225

Resolved in OpenFOAM-dev by commit 58f3ed727678475f6970b5a8190c5b3695c893b8

Issue History

Date Modified Username Field Change
2020-02-29 14:28 Federico Municchi New Issue
2020-02-29 14:28 Federico Municchi File Added: OpenFoamBugInterpolationTemplates.zip
2020-02-29 15:05 henry Priority immediate => low
2020-02-29 15:05 henry Severity major => minor
2020-02-29 15:05 henry Description Updated View Revisions
2020-02-29 15:05 henry Steps to Reproduce Updated View Revisions
2020-02-29 15:14 henry Assigned To => henry
2020-02-29 15:14 henry Status new => resolved
2020-02-29 15:14 henry Resolution open => fixed
2020-02-29 15:14 henry Fixed in Version => dev
2020-02-29 15:14 henry Note Added: 0011225
2020-06-02 18:45 henry Relationship added has duplicate 0003501