SpECTRE  v2024.03.19
TestHelpers::elliptic Namespace Reference

Helper functions to test elliptic first-order systems. More...

Functions

template<typename System >
void test_first_order_fluxes_computer (const DataVector &used_for_size)
 Test the System::fluxes_computer is functional. More...
 
template<typename System , bool Linearized = false>
void test_first_order_sources_computer (const DataVector &used_for_size)
 Test the System::sources_computer is functional. More...
 

Detailed Description

Helper functions to test elliptic first-order systems.

Function Documentation

◆ test_first_order_fluxes_computer()

template<typename System >
void TestHelpers::elliptic::test_first_order_fluxes_computer ( const DataVector used_for_size)

Test the System::fluxes_computer is functional.

This function tests the following properties of the System::fluxes_computer:

  • It works with the fields and fluxes specified in the System.
  • It can be applied to a DataBox, i.e. its argument tags are consistent with its apply function.

◆ test_first_order_sources_computer()

template<typename System , bool Linearized = false>
void TestHelpers::elliptic::test_first_order_sources_computer ( const DataVector used_for_size)

Test the System::sources_computer is functional.

This function tests the following properties of the System::sources_computer:

  • It works with the fields and fluxes specified in the System.
  • It can be applied to a DataBox, i.e. its argument tags are consistent with its apply function.