コード例 #1
0
ファイル: HSolveInterface.cpp プロジェクト: saeedsh/PN2S
double HSolve::getRm( Id id ) const
{
    unsigned int index = localIndex( id );
    assert( index < tree_.size() );
    return tree_[ index ].Rm;
}
コード例 #2
0
void HSolve::setVm( Id id, double value )
{
	unsigned int index = localIndex( id );
	assert( index < V_.size() );
	V_[ index ] = value;
}
コード例 #3
0
 /// @brief
 /// @todo Doc me!
 /// @return
 Index index() const
 {
     return pgrid_->faceIndex(cellIndex(), localIndex());
 }
コード例 #4
0
double HSolve::getCaFloor( Id id ) const
{
	unsigned int index = localIndex( id );
	assert( index < caConc_.size() );
	return caConc_[ index ].floor_;
}
コード例 #5
0
double HSolve::getVm( Id id ) const
{
	unsigned int index = localIndex( id );
	assert( index < V_.size() );
	return V_[ index ];
}
コード例 #6
0
void HSolve::setGk( Id id, double value )
{
	unsigned int index = localIndex( id );
	assert( index < current_.size() );
	current_[ index ].Gk = value;
}
コード例 #7
0
double HSolve::getCaCeiling( Id id ) const
{
	unsigned int index = localIndex( id );
	assert( index < caConc_.size() );
	return caConc_[ index ].ceiling_;
}
コード例 #8
0
double HSolve::getGk( Id id ) const
{
	unsigned int index = localIndex( id );
	assert( index < current_.size() );
	return current_[ index ].Gk;
}
コード例 #9
0
double HSolve::getHHChannelGbar( Id id ) const
{
	unsigned int index = localIndex( id );
	assert( index < channel_.size() );
	return channel_[ index ].Gbar_;
}
コード例 #10
0
void HSolve::setInstant( Id id, int instant )
{
	unsigned int index = localIndex( id );
	assert( index < channel_.size() );
	channel_[ index ].instant_ = instant;
}
コード例 #11
0
int HSolve::getInstant( Id id ) const
{
	unsigned int index = localIndex( id );
	assert( index < channel_.size() );
	return channel_[ index ].instant_;
}
コード例 #12
0
void HSolve::setInitVm( Id id, double value )
{
	unsigned int index = localIndex( id );
	assert( index < tree_.size() );
	tree_[ index ].initVm = value;
}