SpECTRE  v2021.11.01
elliptic::Actions::InitializeFixedSources< System, BackgroundTag > Struct Template Reference

Initialize the "fixed sources" of the elliptic equations, i.e. their variable-independent source term \(f(x)\). More...

#include <InitializeFixedSources.hpp>

Public Types

using const_global_cache_tags = tmpl::list< elliptic::dg::Tags::Massive >
 
using simple_tags = tmpl::list< fixed_sources_tag >
 
using compute_tags = tmpl::list<>
 

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 > &, const ActionList, const ParallelComponent *const)
 

Detailed Description

template<typename System, typename BackgroundTag>
struct elliptic::Actions::InitializeFixedSources< System, BackgroundTag >

Initialize the "fixed sources" of the elliptic equations, i.e. their variable-independent source term \(f(x)\).

This action initializes \(f(x)\) in an elliptic system of PDEs \(-div(F) + S = f(x)\).

Uses:

  • System:
    • primal_fields
  • DataBox:

DataBox:

Note
This action relies on the SetupDataBox aggregated initialization mechanism, so Actions::SetupDataBox must be present in the Initialization phase action list prior to this action.

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