The kwarg to be given for boundary condition of position vector. I guess it should be 'pos_vector', not 'posvalue'