add partial volume C routines