Hi Mingbo,
I just realized that the jv indices don't appear in that README (and also not in the one it references), only the C macro names, which don't help in this context. Here are the definitions, from 3ddata.h:
#define FUNC_FIM_TYPE 0
#define FUNC_PAIR_TYPE 1
#define FUNC_THR_TYPE FUNC_PAIR_TYPE
#define FUNC_COR_TYPE 2
#define FUNC_TT_TYPE 3
#define FUNC_FT_TYPE 4
#define FUNC_ZT_TYPE 5
#define FUNC_CT_TYPE 6
#define FUNC_BT_TYPE 7
#define FUNC_BN_TYPE 8
#define FUNC_GT_TYPE 9
#define FUNC_PT_TYPE 10
#define FUNC_BUCK_TYPE 11
So if you want a gamma distribution (I'm still learning my stats; I can't help you decide if that's right), you need jv=9. I think you're right about the typestring though.
HTH,
Isaac