SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
elliptic::Actions::InitializeFixedSources< System, BackgroundTag, Dim > 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
using simple_tags = tmpl::list<fixed_sources_tag>
using compute_tags = tmpl::list<>
using return_tags = tmpl::list<fixed_sources_tag>
using argument_tags

Static Public Member Functions

template<typename DbTagsList, typename... InboxTags, typename Metavariables, 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 > &, const ActionList, const ParallelComponent *const)
template<typename Background, typename Metavariables, typename... AmrData>
static void apply (const gsl::not_null< typename fixed_sources_tag::type * > fixed_sources, const tnsr::I< DataVector, Dim > &inertial_coords, const Background &background, const bool massive, const Mesh< Dim > &mesh, const Scalar< DataVector > &det_inv_jacobian, const Metavariables &, const AmrData &...)

Detailed Description

template<typename System, typename BackgroundTag, size_t Dim = System::volume_dim>
struct elliptic::Actions::InitializeFixedSources< System, BackgroundTag, Dim >

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:

Member Typedef Documentation

◆ argument_tags

template<typename System, typename BackgroundTag, size_t Dim = System::volume_dim>
using elliptic::Actions::InitializeFixedSources< System, BackgroundTag, Dim >::argument_tags
Initial value:
tmpl::list<
Tag to retrieve the Metavariables from the DataBox.
Definition MetavariablesTag.hpp:17
The coordinates in a given frame.
Definition Tags.hpp:85
The determinant of the inverse Jacobian from the source frame to the target frame.
Definition Tags.hpp:189
The computational grid of the Element in the DataBox.
Definition Tags.hpp:62
Whether or not to multiply the DG operator with the mass matrix. Massive DG operators can be easier t...
Definition Tags.hpp:94

◆ const_global_cache_tags

template<typename System, typename BackgroundTag, size_t Dim = System::volume_dim>
using elliptic::Actions::InitializeFixedSources< System, BackgroundTag, Dim >::const_global_cache_tags
Initial value:
tmpl::list<elliptic::dg::Tags::Massive, BackgroundTag>

The documentation for this struct was generated from the following file:
  • src/Elliptic/Actions/InitializeFixedSources.hpp