MAX_NUM_DOF in TransformationFE.cpp

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

Moderators: silvia, selimgunay, Moderators

Post Reply
weiquanli
Posts: 1
Joined: Sun Jan 07, 2018 6:01 am

MAX_NUM_DOF in TransformationFE.cpp

Post by weiquanli » Sun Jan 07, 2018 6:31 am

Dear OpenSEES Community members

I implement a special element in OpenSees, and it consists of more than 200 nodes. When I set up a model,I must use the command "constraints Transformation". I found that the "MAX_NUM_DOF" in TransformationFE class(TransformationFE.cpp)
was set as 64,which brought about a bug. So I set the "MAX_NUM_DOF" as 200 and the program runs successfully, but the memory runs out and error occurs.

I would like to ask what impact the variable "MAX_NUM_DOF" has on the whole class ? Will it bring out memory problems?

Thank you
---
Weiquan Li

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: MAX_NUM_DOF in TransformationFE.cpp

Post by fmk » Thu Jan 11, 2018 10:32 am

how large is the model? .. it is playing with matrices of size 200x200 or about 3MB for each element matrix .. if you are inefficient in the storage or you have a lot of ele you are going to run into memory problems.

Post Reply