|
| ObserveTimeStepVolume (const std::string &subfile_name, ::FloatingPointType coordinates_floating_point_type, ::FloatingPointType floating_point_type) |
|
template<typename Metavariables , typename ParallelComponent > |
void | operator() (const double time, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time, const Domain< VolumeDim > &domain, const TimeDelta &time_step, const double minimum_grid_spacing, Parallel::GlobalCache< Metavariables > &cache, const ElementId< VolumeDim > &element_id, const ParallelComponent *const component, const Event::ObservationValue &observation_value) 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...
|
|
void | pup (PUP::er &p) override |
|
| ObserveConstantsPerElement (const std::string &subfile_name, ::FloatingPointType coordinates_floating_point_type, ::FloatingPointType floating_point_type) |
|
std::optional< std::pair< observers::TypeOfObservation, observers::ObservationKey > > | get_observation_type_and_key_for_registration () const |
|
template<typename Metavariables , typename ArrayIndex , typename Component > |
bool | is_ready (Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, const Component *const) const |
|
void | pup (PUP::er &p) override |
|
| 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...
|
|
|
std::vector< TensorComponent > | allocate_and_insert_coords (size_t number_of_constants, double time, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time, const Domain< VolumeDim > &domain, const ElementId< VolumeDim > &element_id) const |
| Creates the vector of tensor components that will be observed and starts to fill it with the inertial coordinates. More...
|
|
void | add_constant (gsl::not_null< std::vector< TensorComponent > * > components, std::string name, double value) const |
| Adds a TensorComponent to components with the given name and the given value. More...
|
|
template<typename Metavariables , typename ParallelComponent > |
void | observe (std::vector< TensorComponent > components, Parallel::GlobalCache< Metavariables > &cache, const ElementId< VolumeDim > &element_id, const ParallelComponent *, const ObservationValue &observation_value) const |
| Observes the components as volume data.
|
|
template<size_t VolumeDim>
class dg::Events::ObserveTimeStepVolume< VolumeDim >
Observe the time step in the volume.
Observe the time step size in each element. Each element is output as a single cell with two points per dimension and the observation constant on all those points.
Writes volume quantities:
- InertialCoordinates (only element corners)
- Time step
- Slab fraction
- Minimum grid spacing