Custom Query (109 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 109)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#137 fixed compilation error with GCC_MACOSX ymipsl smasson
Description

In xios-2.5, some lines of the fortran code automatically generated are longer 132 character and do not compile.
We must add -ffree-line-length-none in the compilation options. Could you add it in the arch-GCC_MACOSX.fcm as it is done in the arch-GCC_LINUX.fcm?

#134 fixed generate fortran interface for XIOS_DEV_CMIP6 branch ymipsl ymipsl
Description

Interface has not been generated from a long time....

#131 fixed Problem with number of months in user_defined calendar ymipsl millour
Description

In date.cpp, the function

void CDate::addMonth(int value) { Value doit être égale à 1 ou -1.

this->month += value; if (this->month == 13) { year++; this->month = 1; } if (this->month == 0) { year--; this->month = 12; }

}

Assumes that there are 12 months/year, which is not the case for a "user_defined" calendar. A more generic version could be:

void CDate::addMonth(int value) { Value doit être égale à 1 ou -1.

const CCalendar& c = getRelCalendar(); int nbMonth = c.getYearLength() ;

this->month += value; if (this->month == nbMonth+1) { year++; this->month = 1; } if (this->month == 0) { year--; this->month = nbMonth; }

}

1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.