correct stiffness matrix of 1d 3dof bar element

This commit is contained in:
2014-04-23 01:19:12 +02:00
parent 73e62547ff
commit d15274fa28
2 changed files with 6 additions and 2 deletions

View File

@@ -6,6 +6,10 @@
br = branch br = branch
ci = commit ci = commit
mylog = log --pretty=format:'%h %s [%an]' --graph mylog = log --pretty=format:'%h %s [%an]' --graph
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
changes = show --stat --oneline
pushall = push --recurse-submodules=on-demand pushall = push --recurse-submodules=on-demand
[core] [core]
quotepath = off quotepath = off

View File

@@ -34,8 +34,8 @@ public class K extends Matrix{
*/ */
public static Matrix bar3(double L, double ki){ public static Matrix bar3(double L, double ki){
return new Matrix(new double[][]{ return new Matrix(new double[][]{
{ 7, 56, 1}, { 7, -8, 1},
{56, 16, -8}, {-8, 16, -8},
{ 1, -8, 7}}).times(ki/(3*L)); { 1, -8, 7}}).times(ki/(3*L));
} }