double HSolve::getRm( Id id ) const { unsigned int index = localIndex( id ); assert( index < tree_.size() ); return tree_[ index ].Rm; }
void HSolve::setVm( Id id, double value ) { unsigned int index = localIndex( id ); assert( index < V_.size() ); V_[ index ] = value; }
/// @brief /// @todo Doc me! /// @return Index index() const { return pgrid_->faceIndex(cellIndex(), localIndex()); }
double HSolve::getCaFloor( Id id ) const { unsigned int index = localIndex( id ); assert( index < caConc_.size() ); return caConc_[ index ].floor_; }
double HSolve::getVm( Id id ) const { unsigned int index = localIndex( id ); assert( index < V_.size() ); return V_[ index ]; }
void HSolve::setGk( Id id, double value ) { unsigned int index = localIndex( id ); assert( index < current_.size() ); current_[ index ].Gk = value; }
double HSolve::getCaCeiling( Id id ) const { unsigned int index = localIndex( id ); assert( index < caConc_.size() ); return caConc_[ index ].ceiling_; }
double HSolve::getGk( Id id ) const { unsigned int index = localIndex( id ); assert( index < current_.size() ); return current_[ index ].Gk; }
double HSolve::getHHChannelGbar( Id id ) const { unsigned int index = localIndex( id ); assert( index < channel_.size() ); return channel_[ index ].Gbar_; }
void HSolve::setInstant( Id id, int instant ) { unsigned int index = localIndex( id ); assert( index < channel_.size() ); channel_[ index ].instant_ = instant; }
int HSolve::getInstant( Id id ) const { unsigned int index = localIndex( id ); assert( index < channel_.size() ); return channel_[ index ].instant_; }
void HSolve::setInitVm( Id id, double value ) { unsigned int index = localIndex( id ); assert( index < tree_.size() ); tree_[ index ].initVm = value; }