|
SpECTRE
v2025.08.19
|
Base class for GH gauge conditions. More...
#include <Gauges.hpp>
Public Member Functions | |
| GaugeCondition (const GaugeCondition &)=default | |
| GaugeCondition & | operator= (const GaugeCondition &)=default |
| GaugeCondition (GaugeCondition &&)=default | |
| GaugeCondition & | operator= (GaugeCondition &&)=default |
| GaugeCondition (CkMigrateMessage *msg) | |
| WRAPPED_PUPable_abstract (GaugeCondition) | |
| virtual std::unique_ptr< GaugeCondition > | get_clone () const =0 |
| virtual bool | is_harmonic () const |
Base class for GH gauge conditions.
Derived class must have a void gauge_and_spacetime_derivative function that takes as not_null arguments \(H_a\) and \(\partial_b H_a\). Additional arguments can be added that are needed to compute the gauge condition. The gh::gauges::dispatch() function must also be updated to correctly detect and forward to the gauge condition. The header file must also be included in Factory.hpp and the gauge condition added to the all_gauges type alias in Factory.hpp.