source code of Pinching4

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

Moderators: silvia, selimgunay, Moderators

Post Reply
mtsonicc
Posts: 55
Joined: Wed Mar 14, 2012 6:27 pm
Location: Hanyang University

source code of Pinching4

Post by mtsonicc »

Hi,

I'm trying to download source code of 'Pinching4' material. (http://opensees.berkeley.edu/wiki/index ... 4_Material)

but I can't find it in SVN.

at first, i thought it was 'SRC\material\uniaxial\Pinching4Material.cpp'

but when i looked into that source, the commad was 'Pinching4Material' instead of 'Pinching4'.

Is this the right one?
mtsonicc
Posts: 55
Joined: Wed Mar 14, 2012 6:27 pm
Location: Hanyang University

Re: source code of Pinching4

Post by mtsonicc »

Well, I guess its certainsure that 'SRC\material\uniaxial\Pinching4Material.cpp' is the source code of 'Pinching4' command.

and I have some a question.

I would like to change OpenSees command 'Pinching4' to 'MyMaterial', which part should I modify in 'Pinching4Material.cpp' and 'Pinching4Material.h'?

I tried the example provided in 'Discover OpenSees'. I changed every 'ElasticPPcpp' to 'MyMaterial', and it turned out to work fine.

but for Pinching4 material, I did the same process and it does not seem to work well.(Succeded in creating .dll, though)
Post Reply