SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::forms::source< TrialT, TestT > Struct Template Referencefinal

The source form represents the source term in the discretization framework. It takes a trial term and a test term as template parameters and defines the operand types for the source operation. More...

#include <forms.hpp>

Inheritance diagram for serif::discretization::forms::source< TrialT, TestT >:
[legend]
Collaboration diagram for serif::discretization::forms::source< TrialT, TestT >:
[legend]

Public Types

using trial_type = TrialT
 The trial term type for the source form.
 
using test_type = TestT
 The test term type for the source form.
 
using operand_types = utils::types::TypeList<Operand<TrialT>, Operand<TestT>>
 Type list of operand types for the source form, used for compile-time reflection and iteration over the operands.
 

Static Public Attributes

static constexpr std::string_view name = meta::template_name<source>()
 Compile time reflected name of the form.
 

Detailed Description

template<blocks::Term TrialT, blocks::Term TestT>
struct serif::discretization::forms::source< TrialT, TestT >

The source form represents the source term in the discretization framework. It takes a trial term and a test term as template parameters and defines the operand types for the source operation.

Template Parameters
TrialTThe trial term type.
TestTThe test term type.

There is a similar story here to the mass matrix, though this is much closer to what we expect in physics for a source term.

Member Typedef Documentation

◆ operand_types

template<blocks::Term TrialT, blocks::Term TestT>
using serif::discretization::forms::source< TrialT, TestT >::operand_types = utils::types::TypeList<Operand<TrialT>, Operand<TestT>>

Type list of operand types for the source form, used for compile-time reflection and iteration over the operands.

◆ test_type

template<blocks::Term TrialT, blocks::Term TestT>
using serif::discretization::forms::source< TrialT, TestT >::test_type = TestT

The test term type for the source form.

◆ trial_type

template<blocks::Term TrialT, blocks::Term TestT>
using serif::discretization::forms::source< TrialT, TestT >::trial_type = TrialT

The trial term type for the source form.

Member Data Documentation

◆ name

template<blocks::Term TrialT, blocks::Term TestT>
std::string_view serif::discretization::forms::source< TrialT, TestT >::name = meta::template_name<source>()
staticconstexpr

Compile time reflected name of the form.


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