mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Initial set of changes.
This commit is contained in:
@ -442,26 +442,14 @@ void Foam::FaceCellWave<Type>::enterDomain
|
||||
template <class Type>
|
||||
void Foam::FaceCellWave<Type>::transform
|
||||
(
|
||||
const tensorField& rotTensor,
|
||||
const tensor& rotTensor,
|
||||
const label nFaces,
|
||||
List<Type>& faceInfo
|
||||
)
|
||||
{
|
||||
if (rotTensor.size() == 1)
|
||||
for(label faceI = 0; faceI < nFaces; faceI++)
|
||||
{
|
||||
const tensor& T = rotTensor[0];
|
||||
|
||||
for(label faceI = 0; faceI < nFaces; faceI++)
|
||||
{
|
||||
faceInfo[faceI].transform(mesh_, T);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for(label faceI = 0; faceI < nFaces; faceI++)
|
||||
{
|
||||
faceInfo[faceI].transform(mesh_, rotTensor[faceI]);
|
||||
}
|
||||
faceInfo[faceI].transform(mesh_, rotTensor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user