NEURON
matexp.cpp File Reference
#include <catch2/catch_test_macros.hpp>
#include "ast/all.hpp"
#include "parser/nmodl_driver.hpp"
#include "visitors/matexp_visitor.hpp"
#include "visitors/symtab_visitor.hpp"
#include "visitors/visitor_utils.hpp"
#include "utils/test_utils.hpp"

Go to the source code of this file.

Functions

std::string run_matexp_visitor (const std::string &text, bool verbatim)
 
 SCENARIO ("Solve a KINETIC block using the matexp method", "[visitor][matexp]")
 
 SCENARIO ("Solve multiple CONSERVE using the matexp method", "[visitor][matexp]")
 
 SCENARIO ("Test exponential decay using the matexp method", "[visitor][matexp]")
 
 SCENARIO ("Mix matexp and sparse solver methods", "[visitor][matexp]")
 
 SCENARIO ("Solve multiple blocks with matexp", "[visitor][matexp]")
 
 SCENARIO ("Give non-linear equations to the matexp solver", "[visitor][matexp]")
 

Function Documentation

◆ run_matexp_visitor()

std::string run_matexp_visitor ( const std::string &  text,
bool  verbatim 
)

Definition at line 23 of file matexp.cpp.

◆ SCENARIO() [1/6]

SCENARIO ( "Give non-linear equations to the matexp solver"  ,
""  [visitor][matexp] 
)

Definition at line 337 of file matexp.cpp.

◆ SCENARIO() [2/6]

SCENARIO ( "Mix matexp and sparse solver methods ,
""  [visitor][matexp] 
)

Definition at line 208 of file matexp.cpp.

◆ SCENARIO() [3/6]

SCENARIO ( "Solve a KINETIC block using the matexp method"  ,
""  [visitor][matexp] 
)

Definition at line 46 of file matexp.cpp.

◆ SCENARIO() [4/6]

SCENARIO ( "Solve multiple blocks with matexp"  ,
""  [visitor][matexp] 
)

Definition at line 261 of file matexp.cpp.

◆ SCENARIO() [5/6]

SCENARIO ( "Solve multiple CONSERVE using the matexp method"  ,
""  [visitor][matexp] 
)

Definition at line 109 of file matexp.cpp.

◆ SCENARIO() [6/6]

SCENARIO ( "Test exponential decay using the matexp method"  ,
""  [visitor][matexp] 
)

Definition at line 156 of file matexp.cpp.