GridFire v0.7.0-alpha
General Purpose Nuclear Network
Loading...
Searching...
No Matches
PySolverContextBase Class Referencefinal

#include <py_solver.h>

Inheritance diagram for PySolverContextBase:
gridfire::solver::SolverContextBase

Public Member Functions

std::vector< std::tuple< std::string, std::string > > describe () const override
 Describe the context for callback functions.
 
- Public Member Functions inherited from gridfire::solver::SolverContextBase
virtual ~SolverContextBase ()=default
 

Member Function Documentation

◆ describe()

std::vector< std::tuple< std::string, std::string > > PySolverContextBase::describe ( ) const
nodiscardoverridevirtual

Describe the context for callback functions.

Returns
A vector of tuples, each containing a string for the parameters name and a string for its type.

This method should be overridden by derived classes to provide a description of the context that will be passed to the callback function. The intent of this method is that an end user can investigate the context that will be passed to the callback function, and use this information to craft their own callback function.

Implements gridfire::solver::SolverContextBase.


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