#
#     Copyright (C) 1999-2004  Liz Potterton, Peter Briggs
#
#     This code is distributed under the terms and conditions of the
#     CCP4 Program Suite Licence Agreement as a CCP4 Library.
#     A copy of the CCP4 licence can be obtained by writing to the
#     CCP4 Secretary, Daresbury Laboratory, Warrington WA4 4AD, UK.
#
#CCP4i_cvs_Id $Id$
#CCP4I VERSION CCP4Interface 1.2
#CCP4I SCRIPT DEF dmmulti
#CCP4I DATE  25/07/00 16:05:30
#CCP4I USER lizp

TITLE			_title_text		""
HTML_LOG		_logical		0

INPUT_FILES		_list_of_text		"HKLIN MASKIN"
OUTPUT_FILES            _list_of_text		"HKLOUT MASKOUT"

NCS_MODE		_logical 		1
DM_SCHEME		_dm_scheme		AUTO
DM_SCHEME_RES		_positivereal		""
DM_SCHEME_FRAC		_fraction		""

WANG_RADIUS		_real			""
WANG_MODE		_dm_wang_mode		2
WANG_RHO_MIN		_real			""
WANG_RHO_MAX		_real			""

IFVUOUT			_logical		0
VUOUT_FORMAT		_dm_vuout_format	O

NCRYSTALS		_positiveint		1
HKLIN,0			_MTZ_file		""
DIR_HKLIN,0		_default_dirs           ""
HKLOUT,0		_MTZ_file		""
DIR_HKLOUT,0		_default_dirs           ""
SOLIN,0			_mask_file		""
DIR_SOLIN,0		_default_dirs           ""
SOLOUT,0		_mask_file		""
DIR_SOLOUT,0		_default_dirs           ""
SOLVENT_MASK_MODE,0	_logical		0
USE_HL,0		_logical		0
HKLIN,1                 _MTZ_file               ""
DIR_HKLIN,1             _default_dirs           ""
HKLOUT,1                _MTZ_file               ""
DIR_HKLOUT,1            _default_dirs           ""
SOLIN,1                 _mask_file              ""
DIR_SOLIN,1             _default_dirs           ""
SOLOUT,1                _mask_file              ""
DIR_SOLOUT,1            _default_dirs           ""
SOLVENT_MASK_MODE,1     _logical                0
USE_HL,1                _logical                0

LABIN,0			_text			"FP SIGFP PHIO FOMO"
LABOUT,0          	_text			"PHIDM FOMDM"
FP,0			_mtz_label_f		""
SIGFP,0			_mtz_label_sig		""
PHIO,0			_mtz_label_phi		""
FOMO,0			_mtz_label_w		""
HLA,0			_mtz_label_hl		""
HLB,0			_mtz_label_hl		""
HLC,0			_mtz_label_hl		""
HLD,0			_mtz_label_hl		""
LABIN,1                 _text                   "FP SIGFP PHIO FOMO"
LABOUT,1          	_text			"PHIDM FOMDM"
FP,1                    _mtz_label_f            ""
SIGFP,1                 _mtz_label_sig          ""
PHIO,1                  _mtz_label_phi          ""
FOMO,1                  _mtz_label_w            ""
HLA,1                   _mtz_label_hl           ""
HLB,1                   _mtz_label_hl           ""
HLC,1                   _mtz_label_hl           ""
HLD,1                   _mtz_label_hl           ""

PHIDM			_mtz_label_out		"PHIDM"
FOMDM			_mtz_label_out		"FOMDM"
LABOUT_ID		_text			DM

FREER			_mtz_label_freer	""

RESOLUTION_MIN,0	_resolution		""
RESOLUTION_MAX,0	_resolution		""
RESOLUTION_MIN,1	_resolution		""
RESOLUTION_MAX,1	_resolution		""
SOLVENT_FRAC,0		_fraction		""
SOLVENT_FRAC,1		_fraction		""
SOLC_MEAN_SOLVVAL,0     _real                   ""
SOLC_MEAN_PROTVAL,0     _real                   ""
SOLC_MASK_SOLV,0	_fraction		""
SOLC_MASK_PROT,0	_fraction		""
SOLC_MEAN_SOLVVAL,1     _real                   ""
SOLC_MEAN_PROTVAL,1     _real                   ""
SOLC_MASK_SOLV,1        _fraction               ""      
SOLC_MASK_PROT,1        _fraction               ""
XTAL_REFINE_OP,0	_logical		0

DM_SOLVENT		_logical		1
DM_HISTOGRAM		_logical		1
DM_AVERAGING		_logical		1

NDOMAINS		_dm_ndomains		1
MASKIN,0		_mask_file		""
DIR_MASKIN,0	        _default_dirs		""

NCS_NOPS,0		_dm_ncs_nops		1
NCS_OP_DOM,0		_dmmulti_dom_menu	1
NCS_OP_ALPHA,0		_angle			""
NCS_OP_BETA,0		_angle			""
NCS_OP_GAMMA,0		_angle			""
NCS_OP_XTRAN,0		_translation		""
NCS_OP_YTRAN,0		_translation		""
NCS_OP_ZTRAN,0		_translation		""

WANG_RADIUS             _real                   ""
WANG_MODE               _dm_wang_mode           2
WANG_RHO_MIN            _real                   ""
WANG_RHO_MAX            _real                   ""

DM_SKEL_JOINLEN		_positivereal		6.0
DM_SKEL_ENDLEN		_positivereal           6.0
DM_SKEL_BFAC		_real			45.0
DM_SKEL_CYCLES		_dm_skel_cycles		5

GRID			_logical		0
GRID_1			_positiveint		""
GRID_2			_positiveint		""
GRID_3			_positiveint		""

SCALE_SCALE		_real			""
SCALE_BFAC		_real			""

DM_NCYCLES		_positiveint		10
DM_NCROSS_MODE		_dm_ncross		RANDOM
DM_NCROSS_NSETS		_positiveint		""
DM_RESTORE_WT		_positivereal		0.0

IF_MAPOUT       	_logical                0
MAPOUT_FORMAT   	_map_format             MAP_DEFAULT