Changeset 26469


Ignore:
Timestamp:
10/04/21 06:39:42 (3 years ago)
Author:
Mathieu Morlighem
Message:

CHG: removing extraneous lines

Location:
issm/trunk-jpl/src/c
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/ExtrapolationAnalysis.h

    r26047 r26469  
    1010
    1111class ExtrapolationAnalysis: public Analysis{
    12        
     12
    1313 public:
    1414        /*Model processing*/
  • issm/trunk-jpl/src/c/classes/AmrBamg.h

    r23501 r26469  
    2828                IssmDouble deviatoricerror_maximum;
    2929
    30 
    3130                /* Constructor, destructor etc*/
    3231                AmrBamg();
    33                
     32
    3433                ~AmrBamg();
    3534
     
    4039                void ExecuteRefinementBamg(IssmDouble* field,IssmDouble* hmaxVertices,int** pdatalist,IssmDouble** pxylist,int** pelementslist);
    4140                void SetBamgOpts(IssmDouble hmin_in,IssmDouble hmax_in,IssmDouble err_in,IssmDouble gradation_in);
    42                
     41
    4342                /*Access Method*/
    4443                BamgOpts* GetBamgOpts(){return this->options;}
    45                
     44
    4645        private:
    4746                BamgGeom* geometry;
  • issm/trunk-jpl/src/c/classes/BarystaticContributions.h

    r26285 r26469  
    3131                int                 nocean; //number of ocean partitions
    3232                IssmDouble*         pocean; //ocean partition (nel)
    33  
     33
    3434                /*BarystaticContributions constructors, destructors :*/
    3535                BarystaticContributions(IoModel* iomodel );
  • issm/trunk-jpl/src/c/classes/Cfdragcoeffabsgrad.h

    r25508 r26469  
    2121                int         weights_enum;
    2222                bool                    timepassedflag;
    23                
     23
    2424                IssmDouble  misfit; //value carried over in time.
    25                
     25
    2626                /*Cfdragcoeffabsgrad constructors, destructors :*/
    2727                Cfdragcoeffabsgrad();
    2828                Cfdragcoeffabsgrad(char* in_name, int in_definitionenum, int in_weights_enum,  bool timepassedflag);
    2929                ~Cfdragcoeffabsgrad();
    30                
     30
    3131                /*Object virtual function resolutoin: */
    3232                Object* copy();
     
    3636                void Marshall(MarshallHandle* marshallhandle);
    3737                int ObjectEnum(void);
    38                
     38
    3939                /*Definition virtual function resolutoin: */
    4040                int DefinitionEnum();
  • issm/trunk-jpl/src/c/classes/Cflevelsetmisfit.h

    r26256 r26469  
    2424                IssmDouble      datatime;
    2525                bool                    timepassedflag;
    26                
     26
    2727                IssmDouble  misfit; //value carried over in time.
    28                
     28
    2929                /*Cflevelsetmisfit constructors, destructors :*/
    3030                Cflevelsetmisfit();
    3131                Cflevelsetmisfit(char* in_name, int in_definitionenum, int in_model_enum, int in_observation_enum, int in_weights_enum, IssmDouble in_datatime, bool timepassedflag);
    3232                ~Cflevelsetmisfit();
    33                
     33
    3434                /*Object virtual function resolutoin: */
    3535                Object* copy();
     
    3939                void Marshall(MarshallHandle* marshallhandle);
    4040                int ObjectEnum(void);
    41                
     41
    4242                /*Definition virtual function resolutoin: */
    4343                int DefinitionEnum();
  • issm/trunk-jpl/src/c/classes/Cfsurfacelogvel.h

    r25508 r26469  
    2121                IssmDouble      datatime;
    2222                bool                    timepassedflag;
    23                
     23
    2424                IssmDouble  misfit; //value carried over in time.
    25                
     25
    2626                /*Cfsurfacelogvel constructors, destructors :*/
    2727                Cfsurfacelogvel();
    2828                Cfsurfacelogvel(char* in_name, int in_definitionenum, IssmDouble in_datatime, bool timepassedflag);
    2929                ~Cfsurfacelogvel();
    30                
     30
    3131                /*Object virtual function resolutoin: */
    3232                Object* copy();
     
    3636                void Marshall(MarshallHandle* marshallhandle);
    3737                int ObjectEnum(void);
    38                
     38
    3939                /*Definition virtual function resolutoin: */
    4040                int DefinitionEnum();
  • issm/trunk-jpl/src/c/classes/Cfsurfacesquare.h

    r25508 r26469  
    2626                IssmDouble      datatime;
    2727                bool                    timepassedflag;
    28                
     28
    2929                IssmDouble  misfit; //value carried over in time.
    30                
     30
    3131                /*Cfsurfacesquare constructors, destructors :*/
    3232                Cfsurfacesquare();
    3333                Cfsurfacesquare(char* in_name, int in_definitionenum, int in_model_enum, int in_observation_enum, int in_weights_enum, IssmDouble in_datatime, bool timepassedflag);
    3434                ~Cfsurfacesquare();
    35                
     35
    3636                /*Object virtual function resolutoin: */
    3737                Object* copy();
     
    4141                void Marshall(MarshallHandle* marshallhandle);
    4242                int ObjectEnum(void);
    43                
     43
    4444                /*Definition virtual function resolutoin: */
    4545                int DefinitionEnum();
  • issm/trunk-jpl/src/c/classes/Dakota/IssmParallelDirectApplicInterface.h

    r19652 r26469  
    2929/*}}}*/
    3030
    31 
    3231#if !defined(_WRAPPERS_) && defined(_HAVE_DAKOTA_) && _DAKOTA_MAJOR_ >= 6
    3332
     
    3736namespace SIM {
    3837        class IssmParallelDirectApplicInterface: public Dakota::DirectApplicInterface{
    39      
     38
    4039                private:
    4140                        FemModel* femmodel_init;
  • issm/trunk-jpl/src/c/classes/Elements/Element.h

    r26329 r26469  
    215215                IssmDouble         EnthalpyDiffusionParameterVolume(int numvertices,IssmDouble* enthalpy,IssmDouble* pressure);
    216216                IssmDouble         PureIceEnthalpy(IssmDouble pressure);
    217 
    218217
    219218                /*Virtual functions*/
  • issm/trunk-jpl/src/c/classes/Elements/ElementHook.h

    r25508 r26469  
    2323                ~ElementHook();
    2424                void Marshall(MarshallHandle* marshallhandle);
    25                
     25
    2626                void DeepEcho();
    2727                void Echo();
  • issm/trunk-jpl/src/c/classes/ExternalResults/GenericExternalResult.h

    r26242 r26469  
    606606template <> inline void GenericExternalResult<IssmPDouble*>::Transpose(void){/*{{{*/
    607607
    608 
    609608        /*Perform transpose only if we have a matrix*/
    610609        if(M>1 && N>1){
     
    624623        this->M = temp2;
    625624
    626 
    627 
    628625} /*}}}*/
    629626
  • issm/trunk-jpl/src/c/classes/Inputs/DatasetInput.h

    r25508 r26469  
    2020                int             numberofelements_local;
    2121                int             numberofvertices_local;
    22                
     22
    2323        public:
    2424                int GetNumIds() const {return this->numids;};
  • issm/trunk-jpl/src/c/classes/Masscon.h

    r25508 r26469  
    2424                IssmDouble* levelset;
    2525                int         M;
    26                
     26
    2727                /*Masscon constructors, destructors :*/
    2828                Masscon(){/*{{{*/
     
    101101                         IssmDouble all_mass_t=0.;
    102102
    103 
    104103                         for(i=0;i<femmodel->elements->Size();i++){
    105104                                 Element* element=(Element*)femmodel->elements->GetObjectByOffset(i);
     
    109108                         ISSM_MPI_Allreduce ( (void*)&mass_t,(void*)&all_mass_t,1,ISSM_MPI_DOUBLE,ISSM_MPI_SUM,IssmComm::GetComm());
    110109                         mass_t=all_mass_t;
    111                          
     110
    112111                         return mass_t;
    113112                 }
  • issm/trunk-jpl/src/c/classes/Massconaxpby.h

    r25508 r26469  
    2626                IssmDouble  alpha;
    2727                IssmDouble  beta;
    28                
     28
    2929                /*Massconaxpby constructors, destructors :*/
    3030                Massconaxpby(){/*{{{*/
     
    4747                        this->namex   = xNew<char>(strlen(in_namex)+1);
    4848                        xMemCpy<char>(this->namex,in_namex,strlen(in_namex)+1);
    49                        
     49
    5050                        this->namey   = xNew<char>(strlen(in_namey)+1);
    5151                        xMemCpy<char>(this->namey,in_namey,strlen(in_namey)+1);
  • issm/trunk-jpl/src/c/classes/Massfluxatgate.h

    r26281 r26469  
    4242                /*}}}*/
    4343                Massfluxatgate(char* in_name, int in_definitionenum, int in_numsegments, doubletype* in_segments) {/*{{{*/
    44                        
     44
    4545                        int i;
    4646
     
    8383                                this->y2=xNew<doubletype>(this->numsegments); xMemCpy<doubletype>(this->y2,in_y2,this->numsegments);
    8484                                this->elements=xNew<int>(this->numsegments); xMemCpy<int>(this->elements,in_elements,this->numsegments);
    85                                
     85
    8686                        }
    8787                }
  • issm/trunk-jpl/src/c/classes/Misfit.h

    r25508 r26469  
    2424                char*       timeinterpolation;
    2525                int         weights_enum;
    26                
     26
    2727                int         lock; // if lock is on, we just return the value stored in "misfit".  this is used so we don't compute misfit past the final_time
    2828                IssmDouble  misfit; //value carried over in time.
    29                
     29
    3030                /*Misfit constructors, destructors :*/
    3131                Misfit();
    3232                Misfit(char* in_name, int in_definitionenum, int in_model_enum, int in_observation_enum, char* in_timeinterpolation, int in_local, int in_weights_enum);
    3333                ~Misfit();
    34                
     34
    3535                /*Object virtual function resolutoin: */
    3636                Object* copy();
     
    4040                void Marshall(MarshallHandle* marshallhandle);
    4141                int ObjectEnum(void);
    42                
     42
    4343                /*Definition virtual function resolutoin: */
    4444                int DefinitionEnum();
  • issm/trunk-jpl/src/c/classes/Numberedcostfunction.h

    r25508 r26469  
    99#include "./Definition.h"
    1010#include "./FemModel.h"
    11 
    1211
    1312IssmDouble OutputDefinitionsResponsex(FemModel* femmodel,int output_enum);
  • issm/trunk-jpl/src/c/classes/Options/Option.h

    r25508 r26469  
    2828                int           ObjectEnum(){return OptionEnum;};
    2929
    30 
    3130                /*virtual functions: */
    3231                virtual char* Name()=0;
  • issm/trunk-jpl/src/c/classes/Profiler.h

    r26052 r26469  
    3838#define MAXPROFSIZE                     25 /*Used to initialize static arrays*/
    3939
    40 
    4140class Profiler: public Object{
    4241
  • issm/trunk-jpl/src/c/classes/Radar.h

    r25508 r26469  
    1818                char* name;
    1919                int     definitionenum;
    20                
     20
    2121                /*Radar constructors, destructors :*/
    2222                Radar();
    2323                Radar(char* in_name, int in_definitionenum);
    2424                ~Radar();
    25                
     25
    2626                /*Object virtual function resolutoin: */
    2727                Object* copy();
     
    3131                void Marshall(MarshallHandle* marshallhandle);
    3232                int ObjectEnum(void);
    33                
     33
    3434                /*Definition virtual function resolutoin: */
    3535                int DefinitionEnum();
  • issm/trunk-jpl/src/c/classes/SealevelGeometry.h

    r26230 r26469  
    3636                int         nbar[SLGEOM_NUMLOADS];
    3737                int*        lids;
    38                
     38
    3939                SealevelGeometry(int localnel,int localnods);
    4040                ~SealevelGeometry();
  • issm/trunk-jpl/src/c/classes/kriging/Covertree.h

    r20827 r26469  
    9595        bool isValidTree() const;
    9696
    97 
    9897        /**
    9998         * Remove point p from the cover tree. If p is not present in the tree,
  • issm/trunk-jpl/src/c/classes/kriging/ExponentialVariogram.h

    r25508 r26469  
    2929                int   ObjectEnum(){_error_("Not implemented yet");};
    3030
    31 
    3231                /*Variogram functions*/
    3332                double Covariance(double deltax,double deltay);
  • issm/trunk-jpl/src/c/classes/kriging/PowerVariogram.h

    r25508 r26469  
    2929                int   ObjectEnum(){_error_("Not implemented yet");};
    3030
    31 
    3231                /*Variogram functions*/
    3332                double Covariance(double deltax,double deltay);
  • issm/trunk-jpl/src/c/classes/kriging/Quadtree.h

    r25508 r26469  
    3333                                int     ObjectEnum(){_error_("not implemented yet"); };
    3434
    35 
    3635                                /*Methods*/
    3736                                int          IsWithinRange(double  x,double y,double range);
  • issm/trunk-jpl/src/c/classes/kriging/SphericalVariogram.h

    r25508 r26469  
    2929                int   ObjectEnum(){_error_("Not implemented yet");};
    3030
    31 
    3231                /*Variogram functions*/
    3332                double Covariance(double deltax,double deltay);
  • issm/trunk-jpl/src/c/modules/ConstraintsStatex/ConstraintsStateLocal.h

    r16231 r26469  
    55#ifndef _CONSTRAINTSSTATELOCAL_H
    66#define _CONSTRAINTSSTATELOCAL_H
    7 
    87
    98#ifdef HAVE_CONFIG_H
  • issm/trunk-jpl/src/c/modules/GetVectorFromInputsx/GetVectorFromInputsx.h

    r25489 r26469  
    1515void  GetVectorFromInputsx(IssmDouble** pvector,int* pvector_size, FemModel* femmodel,int name);
    1616
    17 
    1817#endif  /* _GETVECTORFROMINPUTSXX_H */
  • issm/trunk-jpl/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h

    r25954 r26469  
    1313void InputScaleFromDakotax(FemModel* femmodel,IssmDouble* distributed_values,IssmDouble* partition, int npart, int nt, int name);
    1414
    15 
    1615#endif  /* _INPUTUPDATEFROMDAKOTAXX_H */
  • issm/trunk-jpl/src/c/modules/MeshPartitionx/MeshPartitionx.h

    r24396 r26469  
    2525        int* index2d=NULL;
    2626        int  count=0;
    27 
    2827
    2928        switch(meshelementtype){
  • issm/trunk-jpl/src/c/shared/Matrix/matrix.h

    r19563 r26469  
    2525void Matrix4x4Determinant(IssmDouble* Adet,IssmDouble* A);
    2626void Matrix4x4Solve(IssmDouble* X,IssmDouble* A,IssmDouble* B);
    27  
     27
    2828void newcell(IssmDouble** pcell, IssmDouble newvalue, bool top, int m);
    2929IssmDouble  cellsum(IssmDouble* cell, int m);
  • issm/trunk-jpl/src/c/toolkits/issm/IssmMpiSparseMat.h

    r24682 r26469  
    9090                /*}}}*/
    9191                void Init(int Min,int Nin){/*{{{*/
    92                        
     92
    9393                        this->buckets=new DataSet();
    9494
     
    288288                                }
    289289                        }
    290                                        
     290
    291291                        /*Plug into matrix: */
    292292                        for(int i=0;i<this->m;i++) this->matrix[i]->SetValues(numvalues_perrow[i],cols_perrow[i],values_perrow[i],mods_perrow[i]);
  • issm/trunk-jpl/src/c/toolkits/issm/IssmMpiVec.h

    r26110 r26469  
    444444                        comm=IssmComm::GetComm();
    445445                        num_procs=IssmComm::GetSize();
    446 
    447446
    448447                        /*Allocate: */
  • issm/trunk-jpl/src/c/toolkits/issm/IssmSeqVec.h

    r26135 r26469  
    334334                }
    335335                /*}}}*/
    336                
     336
    337337};
    338338#endif //#ifndef _ISSM_SEQ_VEC_H_
  • issm/trunk-jpl/src/c/toolkits/issm/SparseRow.h

    r22737 r26469  
    1919                int*        indices;
    2020                doubletype* values;
    21                
     21
    2222                /*SparseRow constructors, destructors*/
    2323                SparseRow(){ /*{{{*/
     
    2828                } /*}}}*/
    2929                SparseRow(int in_M){/*{{{*/
    30                        
     30
    3131                        M=in_M;
    3232                        ncols=0;
     
    8787                        indices=xNew<int>(ncols); _assert_(indices);
    8888                        values=xNewZeroInit<doubletype>(ncols);  _assert_(values);
    89                        
     89
    9090                        count=0;
    9191                        for(i=0;i<numvalues;i++){
     
    9696                                }
    9797                        }
    98                
     98
    9999                        if(count!=ncols)_error_("counter problem during set values operations");
    100100                } /*}}}*/
     
    132132                                mult+=values[i]*X[indices[i]];
    133133                        }
    134                        
     134
    135135                        return mult;
    136136                }
Note: See TracChangeset for help on using the changeset viewer.