|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
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>
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 |
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).
|
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.