SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::blocks::global_scalar::residual Struct Referencefinal

The residual block is a block that contains the residual of the global scalar. It is a single value over the entire domain and is not associated with any particular functional space. For something like total mass this would be the residual of the mass of the system (i.e. the difference between the current mass and the target mass). More...

#include <fields.hpp>

Inheritance diagram for serif::discretization::blocks::global_scalar::residual:
[legend]
Collaboration diagram for serif::discretization::blocks::global_scalar::residual:
[legend]

Static Public Attributes

static constexpr int static_block_size = 1
 Because this is a global scalar unknown we can be sure at compile time that the block size is 1 and we can use this to optimize the linear algebra operations on this block.
 
- Static Public Attributes inherited from serif::discretization::blocks::residual_block_base
static constexpr int static_block_size = DYNAMIC_BLOCK_SIZE
 

Detailed Description

The residual block is a block that contains the residual of the global scalar. It is a single value over the entire domain and is not associated with any particular functional space. For something like total mass this would be the residual of the mass of the system (i.e. the difference between the current mass and the target mass).

Member Data Documentation

◆ static_block_size

int serif::discretization::blocks::global_scalar::residual::static_block_size = 1
staticconstexpr

Because this is a global scalar unknown we can be sure at compile time that the block size is 1 and we can use this to optimize the linear algebra operations on this block.


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