MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HSolveActive.cpp File Reference
#include "header.h"
#include <queue>
#include "HSolveStruct.h"
#include "HinesMatrix.h"
#include "HSolvePassive.h"
#include "RateLookup.h"
#include "HSolveActive.h"
#include "HSolve.h"
#include "../biophysics/CompartmentBase.h"
#include "../biophysics/Compartment.h"
#include "../biophysics/CaConcBase.h"
#include "../biophysics/ChanBase.h"
#include "ZombieCaConc.h"
+ Include dependency graph for HSolveActive.cpp:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const HinesMatrix &m)
 

Function Documentation

ostream& operator<< ( ostream &  s,
const HinesMatrix m 
)

Definition at line 449 of file HinesMatrix.cpp.

450 {
451  unsigned int size = m.getSize();
452 
453  s << "\nA:\n";
454  for ( unsigned int i = 0; i < size; i++ )
455  {
456  for ( unsigned int j = 0; j < size; j++ )
457  s << setw( 12 ) << setprecision( 5 ) << m.getA( i, j );
458  s << "\n";
459  }
460 
461  s << "\n" << "V:\n";
462  for ( unsigned int i = 0; i < size; i++ )
463  s << m.getVMid( i ) << "\n";
464 
465  s << "\n" << "B:\n";
466  for ( unsigned int i = 0; i < size; i++ )
467  s << m.getB( i ) << "\n";
468 
469  return s;
470 }
double getVMid(unsigned int row) const
double getB(unsigned int row) const
unsigned int getSize() const
double getA(unsigned int row, unsigned int col) const