User Guide
cvode_visitor.cpp File Reference
#include "visitors/cvode_visitor.hpp"
#include "ast/all.hpp"
#include "lexer/token_mapping.hpp"
#include "pybind/pyembed.hpp"
#include "utils/logger.hpp"
#include "visitors/visitor_utils.hpp"
#include <optional>
#include <regex>
#include <utility>

Go to the source code of this file.

Classes

class  nmodl::visitor::CvodeHelperVisitor
 
class  nmodl::visitor::NonStiffVisitor
 
class  nmodl::visitor::StiffVisitor
 

Namespaces

 nmodl
 encapsulates code generation backend implementations
 
 nmodl::visitor
 Implementation of different AST visitors.
 

Functions

static int nmodl::visitor::get_index (const ast::IndexedName &node)
 
static void nmodl::visitor::remove_conserve_statements (ast::StatementBlock &node)
 
static void nmodl::visitor::remove_units (ast::BinaryExpression &node)
 
static std::pair< std::string, std::optional< int > > nmodl::visitor::parse_independent_var (std::shared_ptr< ast::Identifier > node)
 
static std::unordered_set< std::string > nmodl::visitor::get_indexed_variables (const ast::Expression &node, const std::string &ignored_name)
 set of all indexed variables not equal to ignored_name More...
 
static std::string nmodl::visitor::cvode_set_lhs (ast::BinaryExpression &node)
 
static std::shared_ptr< ast::DerivativeBlock > nmodl::visitor::get_derivative_block (ast::Program &node)