| 62 | } |
| 63 | |
| 64 | seissol::solver::FreeSurfaceIntegrator::FreeSurfaceIntegrator() |
| 65 | : projectionMatrixMemory(nullptr), numberOfSubTriangles(0), numberOfAlignedSubTriangles(0), m_enabled(false), totalNumberOfTriangles(0) |
| 66 | { |
| 67 | for (auto& face : projectionMatrix) { |
| 68 | face = nullptr; |
| 69 | } |
| 70 | |
| 71 | for (unsigned dim = 0; dim < FREESURFACE_NUMBER_OF_COMPONENTS; ++dim) { |
| 72 | velocities[dim] = nullptr; |
| 73 | displacements[dim] = nullptr; |
| 74 | } |
| 75 | |
| 76 | surfaceLts.addTo(surfaceLtsTree); |
| 77 | } |
| 78 | |
| 79 | seissol::solver::FreeSurfaceIntegrator::~FreeSurfaceIntegrator() |
| 80 | { |