Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions modules/createEVENT/HighRiseTPU/HighRiseTPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,9 @@ int addForcesFace(TAP *theTaps, int numTaps,
for (int j=0; j<numDivisionY; j++) {

double locX = dX/2.0;
double Rabove = locY*A/heightStory;
double Rbelow = (heightStory-locY)*A/heightStory;
double locYs = locY - i*heightStory; // height of this segment within story i (locY is the absolute height)
double Rabove = locYs*A/heightStory;
double Rbelow = (heightStory-locYs)*A/heightStory;

/*
for (int k=0; k<numTaps; k++) {
Expand Down