Skip to content
Snippets Groups Projects
Select Git revision
  • 4dd694bd2352f458fff934a431284ef6f9130b07
  • master default protected
  • add-nestml-tests
  • lab-jupyterlab4 protected
  • lab-widgets protected
  • lab-snudda protected
  • feat-add_graphviz_wf
  • experimental_rel protected
  • snudda_2.2.2
  • ebrains-25-02 protected
  • ebrains-24-04 protected
  • feat_add_py-jaxley
  • feat_JUSUF_image protected
  • fix-k8s-job-cache-dir
  • test_open3d
  • add-music
  • add_gcc-spinnaker
  • disable-view
  • test_quiggeldy_service
  • image_build
  • update-readme
  • v24.04
  • v25.02
  • v23.09
  • v23.06
  • v23.02
  • v22.10
  • v22.07
28 results

package.py

Blame
  • ZombieFunction.h 1.38 KiB
    /**********************************************************************
    ** This program is part of 'MOOSE', the
    ** Messaging Object Oriented Simulation Environment.
    **           Copyright (C) 2003-2010 Upinder S. Bhalla. and NCBS
    ** It is made available under the terms of the
    ** GNU Lesser General Public License version 2.1
    ** See the file COPYING.LIB for the full notice.
    **********************************************************************/
    
    #ifndef _ZOMBIE_FUNCTION_H
    #define _ZOMBIE_FUNCTION_H
    
    class ZombieFunction: public Function
    {
    	public:
    		ZombieFunction();
    		~ZombieFunction();
    
    		//////////////////////////////////////////////////////////////////
    		// Field assignment stuff
    		//////////////////////////////////////////////////////////////////
    		void innerSetExpr( const Eref& e, string val );
    
    		//////////////////////////////////////////////////////////////////
    		// Dest funcs
    		//////////////////////////////////////////////////////////////////
    		void process(const Eref &e, ProcPtr p);
    		void reinit(const Eref &e, ProcPtr p);
    
    		//////////////////////////////////////////////////////////////////
    		// utility funcs
    		//////////////////////////////////////////////////////////////////
    
    		void setSolver( Id solver, Id orig );
    
    		static void zombify( Element* orig, const Cinfo* zClass,
    					  Id ksolve, Id dsolve );
    
    		static const Cinfo* initCinfo();
    	private:
    };
    
    #endif	// _ZOMBIE_FUNCTION_H