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); } }
void CheMPS2::TensorQ::AddTermSimple(TensorT * denT){ if (( movingRight) && (denBK->gIrrep(denT->gIndex()) == Idiff)){ AddTermSimpleRight(denT); } if ((!movingRight) && (denBK->gIrrep(denT->gIndex()) == Idiff)){ AddTermSimpleLeft( denT); } }