def initial_prof(coef, set, sol): ##For continuous function sol = init_2d_(coef,set,sol) #2.1.1 ##For discrete function sol = init_tip_2d_(coef,set,sol) #2.1.2 #print 'initial tips:', sol['matrix_tip'] return sol
def initial_prof(coef, set, sol): if set['layout'] == '2D': if set['con'] == True: sol = init_2d_(coef,set,sol) #2.1.1 else: sol = init_2d_(coef,set,sol) #2.1.1 sol = init_tip_2d_(coef,set,sol) #2.1.2 if set['layout'] == '3D': sol = init_3d_(coef,set,sol) #sol = init_tip_3d_(coef,set,sol) sol = init_tip_3d_n_(coef,set,sol) if set['con'] == False: print 'initial tips:', sol['matrix_tip'] if set['parent'] == 'two': print 'initial tips2:', sol['matrix_tip_2'] return sol
def initial_prof(coef, set, sol): ##For continuous function sol = init_2d_(coef, set, sol) #2.1.1 ##For discrete function sol = init_tip_2d_(coef, set, sol) #2.1.2 #print 'initial tips:', sol['matrix_tip'] return sol
def initial_prof(coef, set, sol): if set['layout'] == '2D': sol = init_2d_(coef, set, sol) sol = init_tip_2d_(coef, set, sol) if set['layout'] == '3D': sol = init_3d_(coef, set, sol) #sol = init_tip_3d_(coef,set,sol) sol = init_tip_3d_n_(coef, set, sol) print 'initial tips:', sol['matrix_tip'] if set['parent'] == 'two': print 'initial tips2:', sol['matrix_tip_2'] return sol
def initial_prof(coef, set, sol): if set['layout'] == '2D': sol = init_2d_(coef,set,sol) sol = init_tip_2d_(coef,set,sol) if set['layout'] == '3D': sol = init_3d_(coef,set,sol) #sol = init_tip_3d_(coef,set,sol) sol = init_tip_3d_n_(coef,set,sol) print 'initial tips:', sol['matrix_tip'] if set['parent'] == 'two': print 'initial tips2:', sol['matrix_tip_2'] return sol
def initial_prof(coef, set, sol): if set['Dimension'] == '1D': sol = init_1d_(coef,set,sol) #2.1.1 elif set['Dimension'] == '2D': sol = init_2d_(coef,set,sol) #2.1.1 return sol
def initial_prof(coef, set, sol): if set['Dimension'] == '1D': sol = init_1d_(coef, set, sol) #2.1.1 elif set['Dimension'] == '2D': sol = init_2d_(coef, set, sol) #2.1.1 return sol
def initial_prof(coef, set, sol): #print sol['matrix_tip'] sol = init_2d_(coef,set,sol) #2.1.1 return sol