Does an interpolation onto an InterpolationTargetTag by calling Actions on the InterpolationTarget component.
More...
#include <InterpolateWithoutInterpComponent.hpp>
|
using | options = tmpl::list<> |
|
using | compute_tags_for_observation_box = detail::get_compute_items_on_source_or_default_t< InterpolationTargetTag, tmpl::list<> > |
|
using | return_tags = tmpl::list<> |
|
using | argument_tags = tmpl::list< typename InterpolationTargetTag::temporal_id, Tags::InterpPointInfoBase, ::Events::Tags::ObserverMesh< VolumeDim >, domain::Tags::Coordinates< VolumeDim, frame >, SourceVarTags... > |
|
using | is_ready_argument_tags = tmpl::list<> |
|
|
template<typename ParallelComponent , typename Metavariables > |
void | operator() (const typename InterpolationTargetTag::temporal_id::type &temporal_id, const typename Tags::InterpPointInfo< Metavariables >::type &point_infos, const Mesh< VolumeDim > &mesh, const tnsr::I< DataVector, VolumeDim, frame > coordinates, const typename SourceVarTags::type &... source_vars_input, Parallel::GlobalCache< Metavariables > &cache, const ElementId< VolumeDim > &array_index, const ParallelComponent *const, const ObservationValue &) const |
|
template<typename ArrayIndex , typename Component , typename Metavariables > |
bool | is_ready (Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, const Component *const) const |
|
bool | needs_evolved_variables () const override |
| Whether the event uses anything depending on the evolved_variables. If this returns false, anything depending on the evolved variables may have an incorrect value when the event is run. More...
|
|
| Event (CkMigrateMessage *msg) |
|
| WRAPPED_PUPable_abstract (Event) |
|
template<typename ComputeTagsList , typename DataBoxType , typename Metavariables , typename ArrayIndex , typename ComponentPointer > |
void | run (const gsl::not_null< ObservationBox< ComputeTagsList, DataBoxType > * > box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ComponentPointer, const ObservationValue &observation_value) const |
|
template<typename DbTags , typename Metavariables , typename ArrayIndex , typename ComponentPointer > |
bool | is_ready (const db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, const ComponentPointer) const |
|
virtual bool | needs_evolved_variables () const =0 |
| Whether the event uses anything depending on the evolved_variables. If this returns false, anything depending on the evolved variables may have an incorrect value when the event is run. More...
|
|
template<size_t VolumeDim, typename InterpolationTargetTag, typename... SourceVarTags>
class intrp::Events::InterpolateWithoutInterpComponent< VolumeDim, InterpolationTargetTag, tmpl::list< SourceVarTags... > >
Does an interpolation onto an InterpolationTargetTag by calling Actions on the InterpolationTarget component.
- Note
- The
intrp::TargetPoints::Sphere
target is handled specially because it has the potential to be very slow due to it usually having the most points out of all the stationary targets. An optimization for the future would be to have each target be responsible for intelligently computing the block_logical_coordinates
for it's own points.
◆ needs_evolved_variables()
template<size_t VolumeDim, typename InterpolationTargetTag , typename... SourceVarTags>
bool intrp::Events::InterpolateWithoutInterpComponent< VolumeDim, InterpolationTargetTag, tmpl::list< SourceVarTags... > >::needs_evolved_variables |
( |
| ) |
const |
|
inlineoverridevirtual |
Whether the event uses anything depending on the evolved_variables. If this returns false, anything depending on the evolved variables may have an incorrect value when the event is run.
Implements Event.
◆ help
template<size_t VolumeDim, typename InterpolationTargetTag , typename... SourceVarTags>
constexpr Options::String intrp::Events::InterpolateWithoutInterpComponent< VolumeDim, InterpolationTargetTag, tmpl::list< SourceVarTags... > >::help |
|
staticconstexpr |
Initial value:=
"Does interpolation using the given InterpolationTargetTag, "
"without an Interpolator ParallelComponent."
The documentation for this class was generated from the following file:
- src/ParallelAlgorithms/Interpolation/Events/InterpolateWithoutInterpComponent.hpp