src/petscvector/algebra/vector/wrappersub.cpp
/* set all values of the subvector, this function is called from overloaded operator */
set all values of the subvector, this function is called from overloaded operator
set all values of the subvector this function is called from overloaded operator
void PetscVectorWrapperSub::set(double new_value){
	if(DEBUG_MODE_PETSCVECTOR >= 100) std::cout << "(WrapperSub)FUNCTION: set(double)" << std::endl;
	TRYCXX( VecSet(this->subvector,new_value) );
	valuesUpdate();
}
void PetscVectorWrapperSub :: set ( double new_value ) { if ( DEBUG_MODE_PETSCVECTOR >= 100 ) std :: cout << " " << std :: endl ; TRYCXX ( VecSet ( this -> subvector , new_value ) ) ; valuesUpdate ( ) ; }
set all values of the subvector, this function is called from overloaded operator
set all values of the subvector this function is called from overloaded operator
// TODO: control if subvector was allocated