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

Runtime descriptor for a term, containing its associated field and name. Two TermDescriptors are equal if they have identical fields and names. More...

#include <runtime.hpp>

Collaboration diagram for serif::discretization::blocks::TermDescriptor:
[legend]

Public Attributes

FieldDescriptor field
 Each term belongs to a field, and this descriptor identifies that field.
 
std::string_view name
 The name of the term, used for runtime identification.
 

Friends

constexpr bool operator== (const TermDescriptor &, const TermDescriptor &) noexcept=default
 Compare two TermDescriptors for equality based on their fields and names.
 

Detailed Description

Runtime descriptor for a term, containing its associated field and name. Two TermDescriptors are equal if they have identical fields and names.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const TermDescriptor & ,
const TermDescriptor &  )
friend

Compare two TermDescriptors for equality based on their fields and names.

Parameters
lhsThe left-hand side TermDescriptor.
rhsThe right-hand side TermDescriptor.
Returns
True if both the fields and names of the TermDescriptors are equal, false otherwise.

Member Data Documentation

◆ field

FieldDescriptor serif::discretization::blocks::TermDescriptor::field

Each term belongs to a field, and this descriptor identifies that field.

◆ name

std::string_view serif::discretization::blocks::TermDescriptor::name

The name of the term, used for runtime identification.


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