Пример #1
0
void epsRRod(fullVector<double>& xyz, fullMatrix<Complex>& epsR){
  epsR.scale(0);

  epsR(0, 0) = Complex(epsRRodRe, epsRRodIm);
  epsR(1, 1) = Complex(epsRRodRe, epsRRodIm);
  epsR(2, 2) = Complex(epsRRodRe, epsRRodIm);
}
Пример #2
0
void nuRRod(fullVector<double>& xyz, fullMatrix<Complex>& nuR){
  nuR.scale(0);

  nuR(0, 0) = 1;
  nuR(1, 1) = 1;
  nuR(2, 2) = 1;
}
Пример #3
0
void fMaterial(fullVector<double>& xyz, fullMatrix<double>& tensor){
  tensor.scale(0);
  tensor(0, 0) = 1;
  tensor(1, 1) = 2;
  tensor(2, 2) = 1;
}