Apply function overloading to method WriteInit and edit class cdm_NonUniformDomain