public class LinearMaterialCache
extends java.lang.Object
Constructor and Description |
---|
LinearMaterialCache(FemElement3dBase e)
Initializes empty cache
|
Modifier and Type | Method and Description |
---|---|
void |
addInitialMembraneStiffness(ShellElement3d e,
AuxiliaryMaterial mat,
double weight) |
void |
addInitialMembraneStiffness(ShellElement3d e,
FemMaterial mat,
double weight) |
void |
addInitialShellStiffness(ShellElement3d e,
AuxiliaryMaterial mat,
double weight) |
void |
addInitialShellStiffness(ShellElement3d e,
FemMaterial mat,
double weight) |
void |
addInitialStiffness(FemElement3d e,
AuxiliaryMaterial mat,
double weight)
Computes and stores the initial stiffness K00 and force f0 terms
|
void |
addInitialStiffness(FemElement3d e,
FemMaterial mat,
double weight)
Computes and stores the initial stiffness K00 and force f0 terms
|
void |
addInitialStiffness(ShellElement3d e,
AuxiliaryMaterial mat,
double weight)
Computes and stores the initial stiffness K00 and force f0 terms
|
void |
addInitialStiffness(ShellElement3d e,
FemMaterial mat,
double weight)
Computes and stores the initial stiffness K00 and force f0 terms
|
void |
clearInitialStiffness()
Sets all stiffness and force values to zero
|
boolean |
epsilonEquals(LinearMaterialCache cache,
double eps) |
boolean |
equals(LinearMaterialCache cache) |
Vector3d |
getInitialBackForce(int i) |
Vector3d |
getInitialForce(int i)
Retrieves the stiffness-induced initial force on node i
|
Matrix3d |
getInitialStiffness00(int i,
int j)
Retrieves the K00 contribution between nodes i and j
|
Matrix3d |
getInitialStiffness01(int i,
int j)
Retrieves the K01 contribution between nodes i and j
|
Matrix3d |
getInitialStiffness10(int i,
int j)
Retrieves the K10 contribution between nodes i and j
|
Matrix3d |
getInitialStiffness11(int i,
int j)
Retrieves the K00 contribution between nodes i and j
|
boolean |
hasShellData() |
double |
maxDistance(LinearMaterialCache cache) |
void |
mulAddK(int i,
int j,
Vector3d r0,
Vector3d x0) |
void |
mulAddK(int i,
int j,
Vector3d r0,
Vector3d r1,
Vector3d x0,
Vector3d x1) |
public LinearMaterialCache(FemElement3dBase e)
public boolean hasShellData()
public void clearInitialStiffness()
public void addInitialStiffness(FemElement3d e, FemMaterial mat, double weight)
e
- elementmat
- linear materialweight
- weight to combine with integration point weightspublic void addInitialStiffness(ShellElement3d e, FemMaterial mat, double weight)
e
- elementmat
- linear materialweight
- weight to combine with integration point weightspublic void addInitialShellStiffness(ShellElement3d e, FemMaterial mat, double weight)
public void addInitialMembraneStiffness(ShellElement3d e, FemMaterial mat, double weight)
public void addInitialStiffness(FemElement3d e, AuxiliaryMaterial mat, double weight)
e
- elementmat
- linear materialweight
- weight to combine with integration point weightspublic void addInitialStiffness(ShellElement3d e, AuxiliaryMaterial mat, double weight)
e
- elementmat
- linear materialweight
- weight to combine with integration point weightspublic void addInitialShellStiffness(ShellElement3d e, AuxiliaryMaterial mat, double weight)
public void addInitialMembraneStiffness(ShellElement3d e, AuxiliaryMaterial mat, double weight)
public Matrix3d getInitialStiffness00(int i, int j)
i
- first node indexj
- second node indexpublic Matrix3d getInitialStiffness01(int i, int j)
i
- first node indexj
- second node indexpublic Matrix3d getInitialStiffness10(int i, int j)
i
- first node indexj
- second node indexpublic Matrix3d getInitialStiffness11(int i, int j)
i
- first node indexj
- second node indexpublic Vector3d getInitialForce(int i)
i
- node indexpublic Vector3d getInitialBackForce(int i)
public boolean equals(LinearMaterialCache cache)
public boolean epsilonEquals(LinearMaterialCache cache, double eps)
public double maxDistance(LinearMaterialCache cache)