mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Fixes #38.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation | Copyright 2015 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -502,7 +502,11 @@ Foam::meshSearch::meshSearch
|
|||||||
mesh_(mesh),
|
mesh_(mesh),
|
||||||
cellDecompMode_(cellDecompMode)
|
cellDecompMode_(cellDecompMode)
|
||||||
{
|
{
|
||||||
if (cellDecompMode_ == polyMesh::FACE_DIAG_TRIS)
|
if
|
||||||
|
(
|
||||||
|
cellDecompMode_ == polyMesh::FACE_DIAG_TRIS
|
||||||
|
|| cellDecompMode_ == polyMesh::CELL_TETS
|
||||||
|
)
|
||||||
{
|
{
|
||||||
// Force construction of face diagonals
|
// Force construction of face diagonals
|
||||||
(void)mesh.tetBasePtIs();
|
(void)mesh.tetBasePtIs();
|
||||||
@ -523,7 +527,11 @@ Foam::meshSearch::meshSearch
|
|||||||
{
|
{
|
||||||
overallBbPtr_.reset(new treeBoundBox(bb));
|
overallBbPtr_.reset(new treeBoundBox(bb));
|
||||||
|
|
||||||
if (cellDecompMode_ == polyMesh::FACE_DIAG_TRIS)
|
if
|
||||||
|
(
|
||||||
|
cellDecompMode_ == polyMesh::FACE_DIAG_TRIS
|
||||||
|
|| cellDecompMode_ == polyMesh::CELL_TETS
|
||||||
|
)
|
||||||
{
|
{
|
||||||
// Force construction of face diagonals
|
// Force construction of face diagonals
|
||||||
(void)mesh.tetBasePtIs();
|
(void)mesh.tetBasePtIs();
|
||||||
|
|||||||
Reference in New Issue
Block a user