mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Removing the requiredAlignment test points code.
This commit is contained in:
@ -100,17 +100,6 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh
|
|||||||
{
|
{
|
||||||
timeCheck();
|
timeCheck();
|
||||||
|
|
||||||
List<vector> alignmentTests(3);
|
|
||||||
|
|
||||||
alignmentTests[0] = vector(0.34, 0.59, 0.34);
|
|
||||||
alignmentTests[1] = vector(0.44, 0.23, 0.54);
|
|
||||||
alignmentTests[2] = vector(0.54, 0.33, 0.34);
|
|
||||||
|
|
||||||
forAll(alignmentTests, i)
|
|
||||||
{
|
|
||||||
requiredAlignment(alignmentTests[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
createFeaturePoints();
|
createFeaturePoints();
|
||||||
timeCheck();
|
timeCheck();
|
||||||
|
|
||||||
@ -292,22 +281,6 @@ Foam::tensor Foam::conformalVoronoiMesh::requiredAlignment
|
|||||||
|
|
||||||
tensor Rs = rotationTensor((Rp & vector(0,1,0)), ns);
|
tensor Rs = rotationTensor((Rp & vector(0,1,0)), ns);
|
||||||
|
|
||||||
tensor R = (Rs & Rp);
|
|
||||||
|
|
||||||
Info<< nl
|
|
||||||
<< Rp << nl
|
|
||||||
<< Rs << nl
|
|
||||||
<< R << nl
|
|
||||||
<< (R & vector(1, 0, 0)) << nl
|
|
||||||
<< (R & vector(0, 1, 0)) << nl
|
|
||||||
<< (R & vector(0, 0, 1)) << nl
|
|
||||||
<< pt << nl
|
|
||||||
<< surfHit.hitPoint() << nl
|
|
||||||
<< pt + (R & vector(0, 0, 1)) << nl
|
|
||||||
<< pt + (R & vector(0, 1, 0)) << nl
|
|
||||||
<< pt + (R & vector(1, 0, 0)) << nl
|
|
||||||
<< endl;
|
|
||||||
|
|
||||||
return (Rs & Rp);
|
return (Rs & Rp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user