| 85 | } |
| 86 | |
| 87 | void PointSourceClusterOnHost::addTimeIntegratedPointSourceFSRM(unsigned source, |
| 88 | double from, |
| 89 | double to, |
| 90 | real dofs[tensor::Q::size()]) { |
| 91 | auto o0 = sources_->sampleOffsets[0][source]; |
| 92 | auto o1 = sources_->sampleOffsets[0][source + 1]; |
| 93 | auto slip = computeSampleTimeIntegral(from, |
| 94 | to, |
| 95 | sources_->onsetTime[source], |
| 96 | sources_->samplingInterval[source], |
| 97 | sources_->sample[0].data() + o0, |
| 98 | o1 - o0); |
| 99 | kernel::sourceFSRM krnl; |
| 100 | krnl.Q = dofs; |
| 101 | krnl.mInvJInvPhisAtSources = sources_->mInvJInvPhisAtSources[source].data(); |
| 102 | krnl.momentFSRM = sources_->tensor[source].data(); |
| 103 | krnl.stfIntegral = slip; |
| 104 | #ifdef MULTIPLE_SIMULATIONS |
| 105 | krnl.oneSimToMultSim = init::oneSimToMultSim::Values; |
| 106 | #endif |
| 107 | krnl.execute(); |
| 108 | } |
| 109 | |
| 110 | } // namespace seissol::kernels |
nothing calls this directly
no test coverage detected