SERiF 0.0.1a
3+1D Stellar Structure and Evolution
Loading...
Searching...
No Matches
bindings.cpp File Reference
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <string>
#include "composition.h"
#include "atomicSpecies.h"
#include "species.h"
#include "bindings.h"

Go to the source code of this file.

Functions

std::string sv_to_string (std::string_view sv)
 
std::string get_ostream_str (const serif::composition::Composition &comp)
 
void register_comp_bindings (pybind11::module &comp_submodule)
 
void register_species_bindings (pybind11::module &chem_submodule)
 

Function Documentation

◆ get_ostream_str()

std::string get_ostream_str ( const serif::composition::Composition & comp)

Definition at line 19 of file bindings.cpp.

◆ register_comp_bindings()

void register_comp_bindings ( pybind11::module & comp_submodule)

Definition at line 26 of file bindings.cpp.

◆ register_species_bindings()

void register_species_bindings ( pybind11::module & chem_submodule)

Definition at line 141 of file bindings.cpp.

◆ sv_to_string()

std::string sv_to_string ( std::string_view sv)

Definition at line 15 of file bindings.cpp.