30 Tensor4 ppath_abs(nf, stokes_dim, stokes_dim, np, 0.);
31 Tensor4 trans_cumulat(nf, stokes_dim, stokes_dim, np, 0.);
32 Tensor4 trans_partial(nf, stokes_dim, stokes_dim, np, 0.);
38 for(
Index ip = 0; ip < np; ip++)
40 extmat_case[ip].resize(nf);
50 for(
Index n = 0; n < nloop; n++)
52 for(
Index ip = 1; ip < np; ip++)
54 #pragma omp parallel for 55 for(
Index iv=0; iv<nf; iv++ )
58 Matrix ext_mat(stokes_dim,stokes_dim);
59 for(
Index is1=0; is1<stokes_dim; is1++ ) {
60 for(
Index is2=0; is2<stokes_dim; is2++ ) {
61 ext_mat(is1,is2) = 0.5 * ( ppath_abs(iv,is1,is2,ip-1) +
62 ppath_abs(iv,is1,is2,ip ) );
65 scalar_tau[iv] += lstep[ip-1] * ext_mat(0,0);
66 extmat_case[ip-1][iv] = 0;
68 extmat_case[ip-1][iv], ext_mat, lstep[ip-1] );
INDEX Index
The type to use for all integer numbers and indices.
void mult(VectorView y, const ConstMatrixView &M, const ConstVectorView &x)
Matrix Vector multiplication.
Header file for helper functions for OpenMP.
void ext2trans(MatrixView trans_mat, Index &icase, ConstMatrixView ext_mat, const Numeric &lstep)
Declaration of functions in rte.cc.