Пример #1
0
void CheMPS2::TensorQ::AddTermSimple(TensorT * denT){

   if (( moving_right) && (bk_up->gIrrep(denT->gIndex()) == n_irrep)){ AddTermSimpleRight(denT); }
   if ((!moving_right) && (bk_up->gIrrep(denT->gIndex()) == n_irrep)){ AddTermSimpleLeft( denT); }

}
Пример #2
0
void CheMPS2::TensorQ::AddTermSimple(TensorT * denT){

   if (( movingRight) && (denBK->gIrrep(denT->gIndex()) == Idiff)){ AddTermSimpleRight(denT); }
   if ((!movingRight) && (denBK->gIrrep(denT->gIndex()) == Idiff)){ AddTermSimpleLeft( denT); }

}