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

Runtime descriptor for a field, containing its name. Two FieldDescriptors are equal if they have identical names. More...

#include <runtime.hpp>

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

Public Attributes

std::string_view name
 The name of the field, used for runtime identification.
 

Friends

constexpr bool operator== (const FieldDescriptor &, const FieldDescriptor &) noexcept=default
 Compare two FieldDescriptors for equality based on their names.
 

Detailed Description

Runtime descriptor for a field, containing its name. Two FieldDescriptors are equal if they have identical names.

Friends And Related Symbol Documentation

◆ operator==

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

Compare two FieldDescriptors for equality based on their names.

Parameters
lhsThe left-hand side FieldDescriptor.
rhsThe right-hand side FieldDescriptor.
Returns
True if the names of both FieldDescriptors are equal, false otherwise.

Member Data Documentation

◆ name

std::string_view serif::discretization::blocks::FieldDescriptor::name

The name of the field, used for runtime identification.


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