Hi Krishnan

Yes, absolutely. You can write external solvers, external integrators,
external functions (relations) and external methods in C or Fortran and
interface them with ASCEND using "IMPORT" statements in the model code.
There is also limited support for writing external methods using Python.

External code that we currently harness includes the IDA integrator (C
code), LSODE integrator (Fortran), an eigenvalue solver (using scipy via
Python code), FPROPS (my C code Helmholtz evaluator) and freesteam
(IAPWS-IF97 steam properties in C/C++). These are all documented in the
Wiki.

Cheers
JP

Krishnan Chittur wrote:
> John  ... Am I to understand from the latest wiki note that one can
> write a function
> in C and make it callable within ASCEND? (talk about being slow!) ...
>
> If so, under the proper conditions/rules, one can write and access a
> large collection of
> functions/routines and extend what ASCEND does.   There is still some
> code in
> Fortran (BLAS) - I assume then that functions/subroutines written in
> Fortran are
> also callable from within ASCEND?  (like your Modified Benedict Webb
> Rubin equation)?
>
> Krishnan


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to