codeTemplates: Updated boundary condition template for changes to field mapping
This commit is contained in:
@ -113,7 +113,7 @@ CONSTRUCT
|
|||||||
PARENT(ptf, p, iF, mapper),
|
PARENT(ptf, p, iF, mapper),
|
||||||
scalarData_(ptf.scalarData_),
|
scalarData_(ptf.scalarData_),
|
||||||
data_(ptf.data_),
|
data_(ptf.data_),
|
||||||
fieldData_(ptf.fieldData_, mapper),
|
fieldData_(mapper(ptf.fieldData_)),
|
||||||
timeVsData_(ptf.timeVsData_, false),
|
timeVsData_(ptf.timeVsData_, false),
|
||||||
wordData_(ptf.wordData_),
|
wordData_(ptf.wordData_),
|
||||||
labelData_(-1),
|
labelData_(-1),
|
||||||
@ -167,7 +167,7 @@ void Foam::CLASS::autoMap
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
PARENT::autoMap(m);
|
PARENT::autoMap(m);
|
||||||
fieldData_.autoMap(m);
|
m(fieldData_, fieldData_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user