Peano
Loading...
Searching...
No Matches
TP Namespace Reference

This file contains aliases for making access to the long state vector Q as used eg. More...

Namespaces

namespace  Z4VectorShortcuts
namespace  Utilities

Data Structures

struct  logger
 By inheriting this class, you can do something with output if you need. More...
struct  std_cerr_logger
 Default stdout logger, using iostream. More...
struct  LoggingAdapter
 The LoggingAdapter: Logging in Cactus/printf style without macros. More...
class  error
 Another nice thing: The TwoPunctures Error, borrowed from Pizza. More...
struct  Parameters
struct  DERIVS
class  TwoPunctures

Typedefs

typedef struct TP::DERIVS derivs

Enumerations

enum  GRID_SETUP_METHOD { GSM_Taylor_expansion , GSM_evaluation }

Functions

int TP_MyProc ()

Detailed Description

This file contains aliases for making access to the long state vector Q as used eg.

in ExaHyPE and at the functional interface of this code, more readable.

With these constants, you can write Q[g11], Q[K22] and Q[B33] instead of Q[0], Q[9] and Q[34]. Your code is again meaningful in terms of physics.

The list os converted from the PDENames function from Trentos Fortran code with this expression:

perl -p -i -e "s/^\s+Name\‍((.*)\‍)\s* = '(.+)'/\"const int \$2 = \".(\$1-1).';';/eg" FileHoldingPDEDefs.tmp

Methods have been implemented already in the ExaHyPE SRHD application to deal even more naturally with physical expressions which are stored in a long and unintuitive vector. See end of this file for comments.

Typedef Documentation

◆ derivs

typedef struct TP::DERIVS TP::derivs

Enumeration Type Documentation

◆ GRID_SETUP_METHOD

Enumerator
GSM_Taylor_expansion 
GSM_evaluation 

Definition at line 34 of file TwoPunctures.h.

Function Documentation

◆ TP_MyProc()

int TP::TP_MyProc ( )

Definition at line 24 of file TwoPunctures.h.