Your Products have been synced, click here to refresh
Hi Goutam,
The process of compiling C subroutine is the same as Fortran.
The header files should be located in the same directory of the subroutine.
There are examples of subroutines in C language in installed directory which are helpful for the users to start creating C subroutine. For example, in case of SFOSUB in Adams help a simple C subroutine is provided:
This subroutine helps how to define the input and output arguments, and the user is supposed to know how to further write the code in C.
There's a couple of examples in
<ADAMS install dir>\solver\c_usersubs
<ADAMS install dir>\solver\samples
<ADAMS install dir>\solver\usersubs
<ADAMS install dir>\\acar\usrsubs
If you need A/Viiew functions, it's in
<ADAMS install dir>\aview\usersubs
© 2025 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |