Pamcrash user subroutine
I am trying use the user material subroutine provided in pam-crash. Did any of you have already worked it or know where I can have more informations. especially related to linking my code with pam dlls??? I will appreciate ur help.
Unfortunately I don't have the PAM-CRASH software so I cannot help.
I should be able to help you
Let me know what you need?
I am going to implement the user material subroutine for PAM-CRASH. Typically I will be implementing the USRMAT18x_inp, USRMAT18x_slv, USRMAT18x_out for shell and beam elements. The first hiccups will be to link c++ obj file with fortran compiled libraries. Do you think it is possible.??? Moreover Pam-Crash they don't provide any examples as well in the manual...
There are printed examples in PAM-CRASH notes manual (FORTRAN).
Regarding c++ linking, this can be a very hard stuff (C++ and Fortran dynamic linker works in a complete different manner (with classes, template,...)
I would suggest to use std C or FORTRAN.
Why c++? to reuse an existing library?
Which PAM-CRASH version are you using ? On which hardware platform?
Thx for the advice. I am developing in windows environment so I will be using the MS visual studio in order to link both codes. I think the part to deal with pam-crash datatypes will be written in C. Stuffs related to internal processing in my function will be in C++. It will be a mix of both C and C++. In which language have you developed the interface C or Fortran?