Ignore:
Timestamp:
Aug 24, 2004, 12:10:48 PM (21 years ago)
Author:
ole
Message:

testing of set_value and a bit of name changing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/shallow_water.py

    r205 r209  
    274274    protect_against_infinitesimal_heights_centroid(domain)
    275275    if domain.order == 1:
    276         first_order_extrapolator(domain)
     276        extrapolate_first_order(domain)
    277277    elif domain.order == 2:
    278         second_order_extrapolator(domain)       
     278        extrapolate_second_order(domain)       
    279279    else:
    280280        raise 'Unknown order'
     
    312312
    313313
    314 def first_order_extrapolator(domain):
     314def extrapolate_first_order(domain):
    315315    """First order extrapolator function, specific
    316316    to the shallow water wave equation.
     
    332332    for name in domain.conserved_quantities:
    333333        Q = domain.quantities[name]
    334         Q.first_order_extrapolator()
     334        Q.extrapolate_first_order()
    335335        Q.interpolate_from_vertices_to_edges()       
    336336     
     
    396396
    397397       
    398 def second_order_extrapolator(domain):
     398def extrapolate_second_order(domain):
    399399    """Second order limiter function, specific to the shallow water wave
    400400    equation.
     
    427427        Q = domain.quantities[name]
    428428
    429         Q.second_order_extrapolator()
     429        Q.extrapolate_second_order()
    430430        Q.limiter()
    431431        Q.interpolate_from_vertices_to_edges()               
Note: See TracChangeset for help on using the changeset viewer.