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

Function canRead

src/meshTools/edgeMesh/edgeMesh.C:89–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88
89bool Foam::edgeMesh::canRead
90(
91 const fileName& name,
92 const bool verbose
93)
94{
95 word ext = name.ext();
96 if (ext == "gz")
97 {
98 ext = name.lessExt().ext();
99 }
100 return canReadType(ext, verbose);
101}
102
103
104// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //

Callers 6

mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
MeshedSurface.CFile · 0.50

Calls 1

canReadTypeFunction · 0.70

Tested by 1

mainFunction · 0.40