%SETPARAMETERDEFAULTS
%	  SetParameterDefaults sets parameter defaults for solution sequences. 
%	  In particular, Emg module defaults, as well a Client/Server parameters.
%
%	  See also Pvt


global ParameterDefaults;

ParameterDefaults.autospc  ='yes';
ParameterDefaults.coupmass = -1;	% translated to lumped/consistent option
ParameterDefaults.epzero   = 1.e-8;
ParameterDefaults.sigma    = 0.;
ParameterDefaults.tabs     = 0.;

%   for testing, may be made permanent later:

ParameterDefaults.linesrch = 1;		% 0=no, 1=yes

%	Client/Server mode settings

ParameterDefaults.tunnel='no'; %enable ssh tunnelling for encrypted communication to Server.
ParameterDefaults.batsiz=1;  %size of batch jobs sent to nodes
ParameterDefaults.fdbckout=0;  %feedback output level from server (0: no output, 1: basic output, 3: large output)
ParameterDefaults.batch='no';  %run in batch mode.
ParameterDefaults.errchk='yes';  %run with error chechking.

% Integration rule for sol159 is set to 3 (mid point rule)

	ParameterDefaults.int_rule   = 3;


%  John's Emg.mex, and Plotresults.m are picking up the following parameters

	ParameterDefaults.analysis='structural';
	ParameterDefaults.zgrad   ='no';
	ParameterDefaults.imoselem='no';
	ParameterDefaults.wtmass  = 1.;
	ParameterDefaults.lumpm   = 1;
	ParameterDefaults.mred    = 0;
	ParameterDefaults.niref   = 1;
	ParameterDefaults.njref   = 1;
	ParameterDefaults.nkref   = 1;
	ParameterDefaults.cido    =-1;
	ParameterDefaults.solverstring    = ' -mat_type aij -ksp_type cgs -pc_type asm -sub_pc_type lu ';

