MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / isElasticSideOfElasticAcousticInterface

Method isElasticSideOfElasticAcousticInterface

src/Initializer/MemoryManager.cpp:903–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901#endif
902}
903bool seissol::initializer::isElasticSideOfElasticAcousticInterface(CellMaterialData &material,
904 unsigned int face) {
905#ifdef USE_ANISOTROPIC
906 return false;
907#else
908 constexpr auto eps = std::numeric_limits<real>::epsilon();
909 return material.local.mu > eps && material.neighbor[face].mu < eps;
910#endif
911}
912
913bool seissol::initializer::isAtElasticAcousticInterface(CellMaterialData &material, unsigned int face) {
914 // We define the interface cells as all cells that are in the elastic domain but have a

Callers

nothing calls this directly

Calls 1

epsilonFunction · 0.85

Tested by

no test coverage detected