36 template <
class volume_t>
88 std::shared_ptr<const VolumeArray> insideArray,
89 std::shared_ptr<const VolumeArray> outsideArray)
118 template <
class parameters_t>
155 template <
class volume_t>
158 return (*(m_surface.get()));
161 template <
class volume_t>
165 m_oppositeVolume =
volume;
171 template <
class volume_t>
173 const std::shared_ptr<const VolumeArray> volumes,
176 m_oppositeVolumeArray = volumes;
178 m_alongVolumeArray = volumes;
182 template <
class volume_t>
186 const volume_t* attVolume =
nullptr;
188 if ((surfaceRepresentation().normal(gctx, pos)).dot(navDir * mom) > 0.) {
189 attVolume = m_alongVolumeArray ? m_alongVolumeArray->object(pos).get()
192 attVolume = m_oppositeVolumeArray ? m_oppositeVolumeArray->object(pos).get()