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

Method setIntegrationMask

src/ResultWriter/PostProcessor.cpp:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void seissol::writer::PostProcessor::setIntegrationMask(
61 const std::array<bool, 9>& integrationMask) {
62 for (int i = 0; i < 9; i++) {
63 m_integrationMask[i] = integrationMask[i];
64 if (m_integrationMask[i]) {
65 m_integerMap.push_back(i);
66 m_numberOfVariables++;
67 }
68 }
69 m_integrals.count = m_numberOfVariables;
70}
71
72int seissol::writer::PostProcessor::getNumberOfVariables() const { return m_numberOfVariables; }
73

Callers 1

setIntegralMaskFunction · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected