Simulation Core
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

CLostProblems.f90 1009 B

pirms 1 gada
pirms 1 gada
pirms 1 gada
pirms 1 gada
pirms 1 gada
1234567891011121314151617181920212223242526272829303132
  1. module CLostProblems
  2. use CLostProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetLostCirculation(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetLostCirculation
  9. !DEC$ ATTRIBUTES ALIAS: 'SetLostCirculation' :: SetLostCirculation
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. LostProblems%LostCirculation = SetDue(v, ChangeLostCirculation)
  13. #ifdef deb
  14. print*, 'LostCirculation%ProblemType=', LostProblems%LostCirculation%ProblemType
  15. print*, 'LostCirculation%StatusType=', LostProblems%LostCirculation%StatusType
  16. print*, 'LostCirculation%Value=', LostProblems%LostCirculation%Value
  17. #endif
  18. end subroutine
  19. subroutine SetFlowRate(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetFlowRate
  21. !DEC$ ATTRIBUTES ALIAS: 'SetFlowRate' :: SetFlowRate
  22. implicit none
  23. real*8, intent(in) :: v
  24. LostProblems%FlowRate = v
  25. #ifdef deb
  26. print*, 'FlowRate=', LostProblems%FlowRate
  27. #endif
  28. end subroutine
  29. end module CLostProblems