copy of FDNTPSFEx_GREAT3.cpp
(#12)