HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Public Member Functions | List of all members
TestCase Class Reference

The TestCase class provides definition of test cases. More...

#include <TestCase.hpp>

Public Member Functions

 TestCase (std::vector< int > iTC)
 Initialise data. More...
 
Solution get_solution ()
 Returns the solution. More...
 
Diffusion get_diffusion ()
 Returns the diffusion. More...
 
Advection get_advection ()
 Returns the advection. More...
 
Reaction get_reaction ()
 Returns the reaction. More...
 
CellFType< double > diff_source ()
 Returns the diffusion source term. More...
 
CellFType< double > diff_advec_reac_source ()
 Returns the diffusion-advection-reaction source term. More...
 
double get_lambda ()
 Returns the value of the parameter lambda. More...
 
void validate ()
 Check if the provided test cases are valid (within range, and combination of solution/diffusion valid) More...
 

Detailed Description

The TestCase class provides definition of test cases.

Constructor & Destructor Documentation

◆ TestCase()

TestCase::TestCase ( std::vector< int >  iTC)

Initialise data.

Parameters
iTCThe vector id of the test case: (id of solution, id of diffusion)

Member Function Documentation

◆ diff_advec_reac_source()

CellFType< double > TestCase::diff_advec_reac_source ( )

Returns the diffusion-advection-reaction source term.

◆ diff_source()

CellFType< double > TestCase::diff_source ( )

Returns the diffusion source term.

◆ get_advection()

Advection TestCase::get_advection ( )
inline

Returns the advection.

◆ get_diffusion()

Diffusion TestCase::get_diffusion ( )
inline

Returns the diffusion.

◆ get_lambda()

double TestCase::get_lambda ( )
inline

Returns the value of the parameter lambda.

◆ get_reaction()

Reaction TestCase::get_reaction ( )
inline

Returns the reaction.

◆ get_solution()

Solution TestCase::get_solution ( )
inline

Returns the solution.

◆ validate()

void TestCase::validate ( )

Check if the provided test cases are valid (within range, and combination of solution/diffusion valid)


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