Ejemplo n.º 1
0
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):
    ##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
Ejemplo n.º 3
0
def initial_prof(coef, set, sol):
    if set['layout'] == '2D':
        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)
    print 'initial tips:', sol['matrix_tip']
    if set['parent'] == 'two':
        print 'initial tips2:', sol['matrix_tip_2']
    return sol
Ejemplo n.º 4
0
def initial_prof(coef, set, sol):
    if set['layout'] == '2D':
        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)
    print 'initial tips:', sol['matrix_tip']
    if set['parent'] == 'two':
        print 'initial tips2:', sol['matrix_tip_2']
    return sol