| 457 | // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // |
| 458 | |
| 459 | void Foam::fvMesh::addFvPatches |
| 460 | ( |
| 461 | const List<polyPatch*> & p, |
| 462 | const bool validBoundary |
| 463 | ) |
| 464 | { |
| 465 | if (boundary().size()) |
| 466 | { |
| 467 | FatalErrorInFunction |
| 468 | << " boundary already exists" |
| 469 | << abort(FatalError); |
| 470 | } |
| 471 | |
| 472 | // first add polyPatches |
| 473 | addPatches(p, validBoundary); |
| 474 | boundary_.addPatches(boundaryMesh()); |
| 475 | } |
| 476 | |
| 477 | |
| 478 | void Foam::fvMesh::removeFvBoundary() |
no test coverage detected