add a new algorithm

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
im_pce
Posts: 27
Joined: Fri Feb 01, 2008 8:58 pm
Location: USA

add a new algorithm

Post by im_pce »

Hi,

is it possible to change the opensess source and add a new algorithm command in opensees?

Thank you.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

it is .. for versions of OpenSees up to and inclusing 2.2.1, you need to:

1) create a new subclass of EquiSolnAlgo (found in OpenSees/SRC/analysis/algorithm/equiSolnAlgo)
2) then modify the file OpenSees/SRC/commands.cpp to create an object of the new type when the algorithm command is called .. there are many algorithms in this file that can be used as templates.
Post Reply