SpECTRE  v2024.04.12
gh::gauges::GaugeCondition Class Referenceabstract

Base class for GH gauge conditions. More...

#include <Gauges.hpp>

Public Member Functions

 GaugeCondition (const GaugeCondition &)=default
 
GaugeConditionoperator= (const GaugeCondition &)=default
 
 GaugeCondition (GaugeCondition &&)=default
 
GaugeConditionoperator= (GaugeCondition &&)=default
 
 GaugeCondition (CkMigrateMessage *msg)
 
 WRAPPED_PUPable_abstract (GaugeCondition)
 
virtual std::unique_ptr< GaugeConditionget_clone () const =0
 
virtual bool is_harmonic () const
 

Detailed Description

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.


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