|
32 | 32 | .. POSSIBILITY OF SUCH DAMAGE.
|
33 | 33 | .. -----------------------------------------------------------------------------
|
34 | 34 | .. Written by R. W. Ford and A. R. Porter, STFC Daresbury Lab
|
35 |
| -.. Modified by I. Kavcic and L. Turner, Met Office |
| 35 | +.. Modified by I. Kavcic, L. Turner and J. Dendy, Met Office |
36 | 36 |
|
37 | 37 | PSyclone Kernel Tools
|
38 | 38 | =====================
|
@@ -558,14 +558,15 @@ gives the following algorithm layer code:
|
558 | 558 | use mesh_mod, only : mesh_type
|
559 | 559 | use simple_mod, only : simple_type
|
560 | 560 | use constants_mod, only : i_def, r_def
|
561 |
| - integer(kind=i_def), parameter :: element_order = 1_i_def |
| 561 | + integer(kind=i_def), parameter :: element_order_h = 1_i_def |
| 562 | + integer(kind=i_def), parameter :: element_order_v = 1_i_def |
562 | 563 | type(mesh_type), pointer, intent(in) :: mesh
|
563 | 564 | type(field_type), dimension(3), intent(in), optional :: chi
|
564 | 565 | type(field_type), intent(in), optional :: panel_id
|
565 | 566 | TYPE(function_space_type), POINTER :: vector_space_w1_ptr
|
566 | 567 | type(field_type) :: field_1
|
567 | 568 |
|
568 |
| - vector_space_w1_ptr => function_space_collection % get_fs(mesh, element_order, w1) |
| 569 | + vector_space_w1_ptr => function_space_collection % get_fs(mesh, element_order_h, element_order_v, w1) |
569 | 570 | call field_1 % initialise(vector_space=vector_space_w1_ptr, name='field_1')
|
570 | 571 | call invoke(setval_c(field_1, 1.0_r_def), simple_type(field_1))
|
571 | 572 |
|
|
0 commit comments