Changeset 26245


Ignore:
Timestamp:
05/06/21 08:49:20 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing some love stuff

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

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Node.cpp

    r26144 r26245  
    791791int  Node::FSize(void){/*{{{*/
    792792
    793         _assert_(this && this->gdoflist);
     793        _assert_(this!=NULL && this->gdoflist);
    794794
    795795        int fsize = 0;
     
    800800int  Node::SSize(void){/*{{{*/
    801801
    802         _assert_(this && this->s_set);
     802        _assert_(this!=NULL && this->s_set);
    803803
    804804        int ssize = 0;
  • issm/trunk-jpl/src/c/cores/love_core.cpp

    r26242 r26245  
    131131
    132132        indf=d*nfreq+t*2*NTit;
    133         doubletype LoveM[NTit];
     133        doubletype* LoveM = xNew<doubletype>(NTit);
    134134
    135135        for (int M=1;M<NTit+1;M++){
     
    858858                if(VerboseModule() && info!=0){
    859859                        _printf0_("love core warning in DGESV : LAPACK linear equation solver couldn't resolve the system");
    860                         printf("%s %s %s %s\n", "i","j","yi[i+nyi*j]","rhs[i]");
     860                        _printf_("i j yi[i+nyi*j] rhs[i]");
    861861                        for (int i=0;i<nyi;i++){
    862862                                for (int j=0;j<nyi;j++){
    863                                         printf("%i %i %e %e\n", i,j,yi[i+nyi*j],rhs[i]);
     863                                        _printf_(i<<" "<<j<<" "<<yi[i+nyi*j]<<" "<<rhs[i]<<"\n");
    864864                                }
    865865                        }
Note: See TracChangeset for help on using the changeset viewer.