SpECTRE  v2021.12.06
elliptic::Actions::RandomizeInitialGuess< System > Struct Template Reference

Optionally add random noise to the initial guess. More...

#include <RandomizeInitialGuess.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 std::tuple< db::DataBox< DbTagsList > && > 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 System>
struct elliptic::Actions::RandomizeInitialGuess< System >

Optionally add random noise to the initial guess.

Add this action to the action list just after elliptic::Actions::InitializeFields to add random noise to the initial guess. The random noise can be toggled and is configurable with input-file options. A random initial guess can be useful to test the convergence of the elliptic solver.


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