251if(MACP0A1(F1,i,j,k,pl)<0.0) MACP0A1(F1,i,j,k,pl)=0.0; //SASMARK: can be a problem for e.g. Noh problem where there is OUTFLOW BC and the matter actually inflows
252 }
253 }// end pl and face loop
254 }// end 2 3
255 }// end if correct bound type
256elseif(BCtype[X1UP]== ASYMM) { //atch: added this; however unsure if any symmetry exists for fluxes
306if(MACP0A1(F2,i,j,k,pl)<0.0) MACP0A1(F2,i,j,k,pl)=0.0; //SASMARK: can be a problem for e.g. Noh problem where there is OUTFLOW BC and the matter actually inflows
327//if(POSDEFMETRIC==0){ //SASMARK need to asymmetrize the fluxes; don't understand why should not asymm. the fluxes if POSDEFMETRIC is 0
328// // u^t must be symmetric across pole, which is functions of u2 and u3 as well as their squares and othe products. u2 in KS happens to be independent of sign, but in general is could be for some other metric.
329// // for now, assume KS-like metric where u2 is antisymmetric and u^t dep only on u2^2, not u2
330//}
331//else{
332PLOOP(pliter,pl) MACP0A1(F2,i,j,k,pl)*=-1; // anti-sym all
367if(MACP0A1(F2,i,j,k,pl)>0.0) MACP0A1(F2,i,j,k,pl)=0.0; //SASMARK: can be a problem for e.g. Noh problem where there is OUTFLOW BC and the matter actually inflows
386//if(POSDEFMETRIC==0){ //SASMARK need to asymmetrize the fluxes; don't understand why should not asymm. the fluxes if POSDEFMETRIC is 0
387// // u^t must be symmetric across pole, which is functions of u2 and u3 as well as their squares and othe products. u2 in KS happens to be independent of sign, but in general is could be for some other metric.
388// // for now, assume KS-like metric where u2 is antisymmetric and u^t dep only on u2^2, not u2
389//}
390//else{
391PLOOP(pliter,pl) MACP0A1(F2,i,j,k,pl)*=-1; // anti-sym all
421if(MACP0A1(F3,i,j,k,pl)<0.0) MACP0A1(F3,i,j,k,pl)=0.0; //SASMARK: can be a problem for e.g. Noh problem where there is OUTFLOW BC and the matter actually inflows
447if(MACP0A1(F3,i,j,k,pl)>0.0) MACP0A1(F3,i,j,k,pl)=0.0; //SASMARK: can be a problem for e.g. Noh problem where there is OUTFLOW BC and the matter actually inflows
448 }
449 }// end pl and face loop
450 }// end 2 3
451 }// end if correct bound type
452 }
453
454return (0);
455 }
Generated on Fri May 20 2016 15:52:32 for HARM by 1.8.3.1