def writeModelProperties(temp, model):
    """Radiative transfer properties."""
    temp.append('void input(inputPars *par, image *img){\n\n')
    temp.append('\tpar->radius = %.5f*AU;\n' % model.radius)
    temp.append('\tpar->minScale = %.5f*AU;\n' % model.minScale)
    temp.append('\tpar->pIntensity = %.d;\n' % model.pIntensity)
    temp.append('\tpar->sinkPoints = %.d;\n' % model.sinkPoints)
    temp.append('\tpar->sampling = %d;\n' % model.sampling)
    temp.append('\tpar->moldatfile[0] = "%s";\n' % model.moldatfile)
    if model.dust is not None:
        temp.append('\tpar->dust = "%s";\n' % model.dust)
    temp.append('\tpar->lte_only = %d;\n' % model.lte_only)
    if not model.lte_only:
        temp.append('\tpar->nSolveIters = 7;\n')
    temp.append('\tpar->blend = %d;\n' % model.blend)
    temp.append('\tpar->antialias = %d;\n' % model.antialias)
    temp.append('\tpar->traceRayAlgorithm = %d;\n' % model.traceRayAlgorithm)
    temp.append('\tpar->nThreads = %d;\n' % model.nThreads)
    if model.gridOutFile:
        temp.append('\tpar->gridOutFiles[4] = "%s.ds";\n' % model.name)
    temp.append('\n\n')
    return
