Parent Directory | Revision Log

Revision **1509** -
(**show annotations**)
(**download**)
(**as text**)

*Wed Jun 27 13:08:47 2007 UTC*
(12 years, 7 months ago)
by *jpye*

File MIME type: text/x-chdr

File size: 1815 byte(s)

File MIME type: text/x-chdr

File size: 1815 byte(s)

Fixed external loading of integrators, at least on my system. Needs testing with/without fortran, sundials, etc. Changed little thing kn d1mach.c to make default behaviour correct on Linux.

1 | /* ASCEND modelling environment |

2 | Copyright (C) 2007 Carnegie Mellon University |

3 | |

4 | This program is free software; you can redistribute it and/or modify |

5 | it under the terms of the GNU General Public License as published by |

6 | the Free Software Foundation; either version 2, or (at your option) |

7 | any later version. |

8 | |

9 | This program is distributed in the hope that it will be useful, |

10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |

11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |

12 | GNU General Public License for more details. |

13 | |

14 | You should have received a copy of the GNU General Public License |

15 | along with this program; if not, write to the Free Software |

16 | Foundation, Inc., 59 Temple Place - Suite 330, |

17 | Boston, MA 02111-1307, USA. |

18 | *//* @file |

19 | Boundary Manipulator Module. |

20 | |

21 | This module will provide supplemental operations for |

22 | boundaries such as evaluation. |

23 | *//* |

24 | Created: 04/97 |

25 | Last in CVS: $Revision: 1.6 $ $Date: 1997/07/18 12:13:58 $ $Author: mthomas $ |

26 | */ |

27 | |

28 | #ifndef ASC_BNDMAN_H |

29 | #define ASC_BNDMAN_H |

30 | |

31 | #include <utilities/ascConfig.h> |

32 | #include "bnd.h" |

33 | |

34 | /** @addtogroup solver Solver |

35 | @{ |

36 | */ |

37 | |

38 | ASC_DLLSPEC double bndman_real_eval(struct bnd_boundary *bnd); |

39 | /**< Returns the (real) residual of the boundary. */ |

40 | |

41 | extern int32 bndman_log_eval(struct bnd_boundary *bnd); |

42 | /**< |

43 | * Returns the (boolean) residual of the boundary. |

44 | */ |

45 | |

46 | ASC_DLLSPEC int32 bndman_calc_satisfied(struct bnd_boundary *bnd); |

47 | /**< |

48 | * Returns whether the boundary is currently satisfied based on its |

49 | * calculated residual. |

50 | */ |

51 | |

52 | ASC_DLLSPEC int32 bndman_calc_at_zero(struct bnd_boundary *bnd); |

53 | /**< |

54 | * Returns whether the current point lies at the zero of a boundary |

55 | * based on the calculation of the residual of the boundary |

56 | * Used only for real(not boolean) boundaries. |

57 | */ |

58 | |

59 | /* @} */ |

60 | |

61 | #endif /* ASC_BNDMAN_H */ |

john.pye@anu.edu.au | ViewVC Help |

Powered by ViewVC 1.1.22 |