calcrhs

The "calcrhs" or "calculate right hand side" functions are where the user-defined application equations are defined.

All user-defined applications must include two routines as part of discretizing the application equations: These two routines are called by the hyper interface in hyperrhs.f90. Routine calcrhs is called if the right hand side of the application equations are to be calculated in a pointwise fashion ( that is, the routine calcrhs will called repeatedly as hyperrhs.f90 loops over all the grid points ); otherwise, routine calcrhs2 is called just once and passed the memory pointers to all necessary grid functions.

The setup file controls which of the two routines is called by setting the parameters hyper_rhs1 and hyper_rhs2.

Notes

See Also

setup, List of required routines

Index of all manual pages

Examples

had/src/hyperCurvedWave/rhs.f90