overland.cpp 381 B

12345678910111213141516171819
  1. #include "overland.hpp"
  2. #include "debug.hpp"
  3. namespace Kernel{
  4. void Overland::run(){
  5. #ifdef MYDEBUG
  6. cout<<" [Overland::run] start"<<endl;
  7. #endif
  8. for(size_t ix=0;ix<geometry->nX;++ix){
  9. hov[ix]=in_hov[ix];
  10. Psoil[ix]=previous_P[ix][geometry->nZ[ix]-1];
  11. }
  12. error=0;
  13. #ifdef MYDEBUG
  14. cout<<" [Overland::run] end"<<endl;
  15. #endif
  16. }
  17. }