LaminaStressStrainOutput constructor

LaminaStressStrainOutput({
  1. TensorType tensorType = TensorType.stress,
  2. double sigma11 = 0,
  3. double sigma22 = 0,
  4. double sigma12 = 0,
  5. double epsilon11 = 0,
  6. double epsilon22 = 0,
  7. double gamma12 = 0,
  8. List<List<double>>? Q,
  9. List<List<double>>? S,
})

Implementation

LaminaStressStrainOutput({
  this.tensorType = TensorType.stress,
  this.sigma11 = 0,
  this.sigma22 = 0,
  this.sigma12 = 0,
  this.epsilon11 = 0,
  this.epsilon22 = 0,
  this.gamma12 = 0,
  List<List<double>>? Q, // Make it nullable and initialize later
  List<List<double>>? S, // Make it nullable and initialize later
})  : Q = Q ?? [],
      S = S ?? [];