| 668 | |
| 669 | |
| 670 | void Foam::meshTools::constrainDirection |
| 671 | ( |
| 672 | const polyMesh& mesh, |
| 673 | const Vector<label>& dirs, |
| 674 | vector& d |
| 675 | ) |
| 676 | { |
| 677 | for (direction cmpt=0; cmpt<vector::nComponents; cmpt++) |
| 678 | { |
| 679 | if (dirs[cmpt] == -1) |
| 680 | { |
| 681 | d[cmpt] = 0.0; |
| 682 | } |
| 683 | } |
| 684 | } |
| 685 | |
| 686 | |
| 687 | void Foam::meshTools::constrainDirection |
no test coverage detected