11 #include <gsl/gsl_errno.h>
12 #include <gsl/gsl_matrix.h>
13 #include <gsl/gsl_odeiv2.h>
18 #include "../mesh/VoxelJunction.h"
27 #include "../shell/Shell.h"
28 #include "../mesh/MeshEntry.h"
29 #include "../mesh/Boundary.h"
30 #include "../mesh/ChemCompt.h"
33 : stoich_(), compartment_(),
54 vector< double > vols =
56 if ( vols.size() > 0 ) {
58 for (
unsigned int i = 0; i < vols.size(); ++i ) {
Element * element() const
Synonym for Id::operator()()
virtual void setNumAllVoxels(unsigned int numVoxels)=0
Assign number of voxels (size of pools_ vector )
virtual void updateJunctions(double dt)
Used for telling Dsolver to handle all ops across Junctions.
virtual void setCompartment(Id compartment)
Assigns compartment.
Id getCompartment() const
virtual VoxelPoolsBase * pools(unsigned int i)=0
Return a pointer to the specified VoxelPool.
bool isBuilt_
Flag: True when solver setup has been completed.
bool isA(const string &ancestor) const
virtual void setPrev()
Used to tell Dsolver to assign 'prev' values.
const Cinfo * cinfo() const
void setVolume(double vol)
Just assigns the volume without any cascading to other values.
Id compartment_
Id of Chem compartment used to figure out volumes of voxels.