1 #include <../../nrnconf.h>
75 for (
int k = 0;
k <
n; ++
k) {
156 std::string
s =
name;
157 std::string suf{
"_"};
159 s.resize(
s.rfind(suf));
176 Symlist* symtab =
p->ob->ctemplate->symtable;
178 for (
int i = 0;
i <
cnt; ++
i) {
186 auto const y =
p->ob->u.dataspace[
n].pval;
187 for (
int j = 0;
j < jmax; ++
j) {
201 for (
int i = 0;
i <
cnt; ++
i) {
206 for (
int j = 0;
j < jmax; ++
j) {
215 p->param_legacy(
n +
j) = x[
k +
j];
217 x[
k +
j] =
p->param_legacy(
n +
j);
230 auto& pdest =
np.npi_->params_;
239 for (
i = 0;
i <
cnt; ++
i) {
251 if (
s->type != RANGEVAR &&
s->type !=
RANGEOBJ) {
Symbol * findsym(const char *rangevar)
NrnProperty(const char *)
const char * name() const
bool copy_out(NrnProperty &dest, int vartype=0)
neuron::container::data_handle< double > pval(const Symbol *, int index)
bool copy(bool to_prop, Prop *dest, Node *nd_dest, int vartype=0)
NrnPropertyImpl(int mechtype)
std::vector< double > params_
Symbol * hoc_table_lookup(const char *, Symlist *)
static std::vector< double > param_default
size_t hoc_total_array_data(const Symbol *s, Objectdata *obd)
void check_obj_type(Object *obj, const char *type_name)
void hoc_dec_refcount(Object **pobj)
void hoc_execerror(const char *s1, const char *s2)
static std::string strip_suffix(const char *name, const char *suffix)
Symlist * hoc_top_level_symlist
Prop * prop_alloc(Prop **, int, Node *)
void single_prop_free(Prop *)
Symlist * hoc_built_in_symlist
int const size_t const size_t n
std::vector< Memb_func > memb_func
int nrn_vartype(const Symbol *sym)
struct Symbol::@45::@46 rng