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

The value block is a block that contains the value 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 actual value of the mass of the system. More...

#include <fields.hpp>

Inheritance diagram for serif::discretization::blocks::global_scalar::value:
[legend]
Collaboration diagram for serif::discretization::blocks::global_scalar::value:
[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::value_block_base
static constexpr int static_block_size = DYNAMIC_BLOCK_SIZE
 

Detailed Description

The value block is a block that contains the value 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 actual value of the mass of the system.

Member Data Documentation

◆ static_block_size

int serif::discretization::blocks::global_scalar::value::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: