Changeset 25996


Ignore:
Timestamp:
02/17/21 13:36:17 (4 years ago)
Author:
bulthuis
Message:

NEW: add new class sampling to model for stochastic sampling capability

Location:
issm/trunk-jpl/src/m
Files:
1 added
2 edited

Legend:

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

    r25988 r25996  
    3939                steadystate      = 0;
    4040                transient        = 0;
    41                 levelset                          = 0;
     41                levelset             = 0;
    4242                calving          = 0;
    4343                frontalforcings  = 0;
    44                 love                         = 0;
    45                 gia                               = 0;
     44                love                     = 0;
     45                gia                              = 0;
    4646                esa              = 0;
     47        sampling         = 0;
    4748
    4849                autodiff         = 0;
     
    187188                                        end
    188189                                end
    189                         end
     190            end
     191            %2021 February 17
     192                        if isa(md.sampling,'double'); md.sampling=sampling(); end
    190193                end% }}}
    191194        end
     
    241244                        md.love             = fourierlove();
    242245                        md.esa              = esa();
     246            md.sampling         = sampling();
    243247                        md.autodiff         = autodiff();
    244248                        md.inversion        = inversion();
     
    15051509                        disp(sprintf('%19s: %-22s -- %s','esa'             ,['[1x1 ' class(self.esa) ']'],'parameters for elastic adjustment solution'));
    15061510                        disp(sprintf('%19s: %-22s -- %s','love'            ,['[1x1 ' class(self.love) ']'],'parameters for love solution'));
     1511            disp(sprintf('%19s: %-22s -- %s','sampling'        ,['[1x1 ' class(self.sampling) ']'],'parameters for stochastic sampler'));
    15071512                        disp(sprintf('%19s: %-22s -- %s','autodiff'        ,['[1x1 ' class(self.autodiff) ']'],'automatic differentiation parameters'));
    15081513                        disp(sprintf('%19s: %-22s -- %s','inversion'       ,['[1x1 ' class(self.inversion) ']'],'parameters for inverse methods'));
  • issm/trunk-jpl/src/m/consistency/ismodelselfconsistent.m

    r25952 r25996  
    7878        elseif strcmp(solutiontype,'DamageEvolutionSolution')
    7979                analyses={'DamageEvolutionAnalysis'};
     80    elseif strcmp(solutiontype,'SamplingSolution')
     81                analyses={'SamplingAnalysis'};   
    8082        else
    8183                error(' solution type: %s' , solutiontype, ' not supported yet!');
Note: See TracChangeset for help on using the changeset viewer.