Operation

<< Click to Display Table of Contents >>

Navigation:  Flexcom > Theory > Applied Loading > Additional Loading Options > User-Defined Forces >

Operation

Previous pageNext page

When you specify the name of the DLL file, Flexcom loads the DLL and searches for the load subroutine that was embedded into the DLL when it was compiled. Once Flexcom locates the subroutine, the subroutine is dynamically loaded into the Flexcom analysis module executable. The analysis then proceeds. When running, at each time step the user-subroutine is called once for each individual point load and each individual uniformly distributed load you specify. The subroutine arguments contain sufficient information for you to be able to determine which combination the subroutine is being called for (presuming there is more than one), and you must program your module accordingly, typically using statements such as “if”, “then”, “else” etc. The sample coding in Sample User-Subroutine Load illustrates this in greater depth. Finally, when the analysis is completed the temporary Flexcom executable is deleted. Note that if you can use the facility, then the operation is completely automatic and transparent to you, and requires no intervention by you at runtime in compiling or linking the program.