Ignore:
Timestamp:
01/30/22 15:46:47 (3 years ago)
Author:
jdquinn
Message:

CHG: MATLAB -> Python for SE modules and tests; clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/fourierlove.m

    r26800 r26840  
    66classdef fourierlove
    77        properties (SetAccess=public)
    8                 nfreq                       = 0;
    9                 frequencies                 = 0;
    10                 sh_nmax                     = 0;
    11                 sh_nmin                     = 0;
    12                 g0                          = 0;
    13                 r0                          = 0;
    14                 mu0                         = 0;
    15                 Gravitational_Constant      = 0;
    16                 chandler_wobble             = 0;
    17                 allow_layer_deletion        = 0;
    18                 underflow_tol               = 0;
    19                 pw_threshold                = 0;
    20                 integration_steps_per_layer = 0;
    21                 istemporal                  = 0;
    22                 n_temporal_iterations       = 0;
    23                 time                        = 0;
    24                 love_kernels                = 0;
    25                 forcing_type                = 0;
    26                 inner_core_boundary         = 0;
    27                 core_mantle_boundary        = 0;
    28                 complex_computation         = 0;
     8                nfreq                                           = 0;
     9                frequencies                                     = 0;
     10                sh_nmax                                         = 0;
     11                sh_nmin                                         = 0;
     12                g0                                                      = 0;
     13                r0                                                      = 0;
     14                mu0                                                     = 0;
     15                Gravitational_Constant          = 0;
     16                chandler_wobble                         = 0;
     17                allow_layer_deletion            = 0;
     18                underflow_tol                           = 0;
     19                pw_threshold                            = 0;
     20                integration_steps_per_layer     = 0;
     21                istemporal                                      = 0;
     22                n_temporal_iterations           = 0;
     23                time                                            = 0;
     24                love_kernels                            = 0;
     25                forcing_type                            = 0;
     26                inner_core_boundary                     = 0;
     27                core_mantle_boundary            = 0;
     28                complex_computation                     = 0;
    2929
    3030        end
     
    180180                                        if self.time(i)==0
    181181                                                self.frequencies((i-1)*2*self.n_temporal_iterations +j) =0; % convention to avoid marshalling infinite numbers
    182                                         else                                           
     182                                        else
    183183                                                self.frequencies((i-1)*2*self.n_temporal_iterations +j) = j*log(2)/self.time(i)/2/pi;
    184184                                        end
Note: See TracChangeset for help on using the changeset viewer.