'''
Created on Nov 14, 2012

@author: dstrauss

Simple routine to do optimization over 3D! 

'''


import numpy as np
D = {'solverType':'contrastX', 'flavor':'TE3D', 'numRuns':1, 'expt':'huge', 'numProcs':2}


def getMyVars(parseNumber, D):
    '''routine to return the parameters to test at the current iteration.'''
    
    
    # D['rho'] = 0.00001
    # D['xi'] = 1e-9
    D['freqs'] = np.array([1e3, 2e3])
    D['inc'] = np.array([75*np.pi/180])
    D['bkgNo'] =  0
    D['numProcs'] = 2
    D['maxIter'] = 200
    D['lmb'] = 1e-13
    
    return D
'''
Created on Nov 14, 2012

@author: dstrauss

Simple routine to do optimization over 3D! 

'''


import numpy as np
D = {'solverType':'contrastX', 'flavor':'TE3D', 'numRuns':2, 'expt':'huge', 'numProcs':2}


def getMyVars(parseNumber, D):
    '''routine to return the parameters to test at the current iteration.'''
    
    
    # D['rho'] = 0.00001
    # D['xi'] = 1e-9
    D['freqs'] = np.array([1e3, 2e3])
    D['inc'] = np.array([75*np.pi/180])
    D['bkgNo'] =  0
    D['numProcs'] = 2
    D['maxIter'] = 200
    D['lmb'] = 1e-13
    
    return D
solve with parallelized code on a different node.