MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / addFvPatches

Function addFvPatches

src/finiteVolume/fvMesh/fvMesh.C:459–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
458
459void 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
478void Foam::fvMesh::removeFvBoundary()

Callers 1

agglomerateMeshFunction · 0.85

Calls 4

boundaryMeshClass · 0.85
abortClass · 0.50
addPatchesFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected