SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::quadrature::RuleControl Struct Reference

A struct to control the behavior of a quadrature rule for a given form or role. Rule control always contains boost (default to 0) and may contain some fixed order (think of this as an override). If the fixed order is empty then the quadrature system will determine the order based on the form and role + boost. More...

#include <rules.hpp>

Public Attributes

std::optional< int > fixed_order
 An optional fixed order for the quadrature rule. If this is set, it will override the default order determined by the form and role.
 
int boost = 0
 An additional boost to the order of the quadrature rule. This is added to the default order determined by the form and role.
 

Detailed Description

A struct to control the behavior of a quadrature rule for a given form or role. Rule control always contains boost (default to 0) and may contain some fixed order (think of this as an override). If the fixed order is empty then the quadrature system will determine the order based on the form and role + boost.

Member Data Documentation

◆ boost

int serif::discretization::quadrature::RuleControl::boost = 0

An additional boost to the order of the quadrature rule. This is added to the default order determined by the form and role.

◆ fixed_order

std::optional<int> serif::discretization::quadrature::RuleControl::fixed_order

An optional fixed order for the quadrature rule. If this is set, it will override the default order determined by the form and role.


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