|
SpECTRE
v2026.04.01
|
Optionally add random noise to the initial guess. More...
#include <RandomizeVariables.hpp>
Classes | |
| struct | RandomParameters |
| struct | RandomParametersOptionTag |
| struct | RandomParametersTag |
Public Types | |
| using | const_global_cache_tags = tmpl::list<RandomParametersTag> |
Static Public Member Functions | |
| template<typename DbTagsList, typename... InboxTags, typename Metavariables, size_t Dim, typename ActionList, typename ParallelComponent> | |
| static Parallel::iterable_action_return_t | apply (db::DataBox< DbTagsList > &box, const tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ElementId< Dim > &element_id, const ActionList, const ParallelComponent *const) |
Optionally add random noise to the initial guess.
Use this action to add random noise to variables. The random noise can be toggled and is configurable with input-file options. Adding random noise to fields can be useful to test the convergence and stability.