SpECTRE  v2024.04.12
Actions::RandomizeVariables< VariablesTag, Label > Struct Template Reference

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)
 

Detailed Description

template<typename VariablesTag, typename Label>
struct Actions::RandomizeVariables< VariablesTag, Label >

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.


The documentation for this struct was generated from the following file: