MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HHChannelBase.cpp File Reference
#include "header.h"
#include "ElementValueFinfo.h"
#include "HHGate.h"
#include "ChanBase.h"
#include "HHChannelBase.h"
+ Include dependency graph for HHChannelBase.cpp:

Go to the source code of this file.

Functions

bool checkPower (double power)
 

Variables

static const CinfohhChannelCinfo = HHChannelBase::initCinfo()
 

Function Documentation

bool checkPower ( double  power)

Definition at line 182 of file HHChannelBase.cpp.

Referenced by HHChannelBase::setXpower(), HHChannelBase::setYpower(), and HHChannelBase::setZpower().

183 {
184  if ( power < 0.0 ) {
185  cout << "Warning: HHChannelBase::setPower: Cannot be negative\n";
186  return false;
187  }
188  if ( power > 5.0 ) {
189  cout << "Warning: HHChannelBase::setPower: unlikely to be > 5\n";
190  return false;
191  }
192  return true;
193 }

+ Here is the caller graph for this function:

Variable Documentation

const Cinfo* hhChannelCinfo = HHChannelBase::initCinfo()
static

Definition at line 163 of file HHChannelBase.cpp.