mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: lduPrimitiveMesh: make constructor easier
This commit is contained in:
@ -254,7 +254,7 @@ Foam::lduPrimitiveMesh::lduPrimitiveMesh
|
||||
const label nCells,
|
||||
labelList& l,
|
||||
labelList& u,
|
||||
const Xfer<PtrList<const lduInterface> >& primitiveInterfaces,
|
||||
PtrList<const lduInterface>& primitiveInterfaces,
|
||||
const lduSchedule& ps,
|
||||
const label comm
|
||||
)
|
||||
@ -262,10 +262,12 @@ Foam::lduPrimitiveMesh::lduPrimitiveMesh
|
||||
lduAddressing(nCells),
|
||||
lowerAddr_(l, true),
|
||||
upperAddr_(u, true),
|
||||
primitiveInterfaces_(primitiveInterfaces),
|
||||
primitiveInterfaces_(0),
|
||||
patchSchedule_(ps),
|
||||
comm_(comm)
|
||||
{
|
||||
primitiveInterfaces_.transfer(primitiveInterfaces);
|
||||
|
||||
// Create interfaces
|
||||
interfaces_.setSize(primitiveInterfaces_.size());
|
||||
forAll(primitiveInterfaces_, i)
|
||||
|
||||
@ -133,7 +133,7 @@ public:
|
||||
const label nCells,
|
||||
labelList& l,
|
||||
labelList& u,
|
||||
const Xfer<PtrList<const lduInterface> >& primitiveInterfaces,
|
||||
PtrList<const lduInterface>& primitiveInterfaces,
|
||||
const lduSchedule& ps,
|
||||
const label comm
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user