NEURON
nrnmain.cpp File Reference
#include "nrnconf.h"
#include "nrnmpi.h"
#include "../nrncvode/nrnneosm.h"
#include <errno.h>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Functions

int ivocmain (int, const char **, const char **)
 Main entrypoint function into the HOC interpeter. More...
 
int main (int argc, char **argv, char **env)
 

Variables

int nrn_main_launch
 
int nrn_noauto_dlopen_nrnmech
 

Function Documentation

◆ ivocmain()

int ivocmain ( int  argc,
const char **  argv,
const char **  env 
)

Main entrypoint function into the HOC interpeter.

This function simply calls ivocmain_session with the start_session = 1.

Note
This is part of NEURON's public interface
env argument should not be used as it might become invalid
Parameters
argcargument count as found in C/C++ main functions
argvargument vector as found in C/C++ main functions
envenvironment variable array as optionally found in main functions.
Returns
0 on success, otherwise error code.

Definition at line 334 of file ivocmain.cpp.

◆ main()

int main ( int  argc,
char **  argv,
char **  env 
)

Definition at line 23 of file nrnmain.cpp.

Variable Documentation

◆ nrn_main_launch

int nrn_main_launch
extern

Definition at line 333 of file hoc_init.cpp.

◆ nrn_noauto_dlopen_nrnmech

int nrn_noauto_dlopen_nrnmech
extern

Definition at line 229 of file hoc_init.cpp.