/*only one of the two output options, otherwise paraview segfaults due to two timies the same field name*/
if(velocityAveragingInModelandnotvelocityOutput){
if(velocityAveragingInModel&&!velocityOutput)
{
for(intphaseIdx=0;phaseIdx<numPhases;++phaseIdx){
// commit the phase velocity
std::ostringstreamoss;
...
...
@@ -349,7 +352,8 @@ public:
this->resizeScalarBuffer_(qsf_);
if(velocityAveragingInModelandnotvelocityOutput/*only one of the two output options, otherwise paraview segfaults due to two times the same field name*/){
if(velocityAveragingInModel&&!velocityOutput/*only one of the two output options, otherwise paraview segfaults due to two times the same field name*/)
if(velocityAveragingInModelandnotvelocityOutput/*only one of the two output options, otherwise paraview segfaults due to two times the same field name*/){
if(velocityAveragingInModel&&!velocityOutput/*only one of the two output options, otherwise paraview segfaults due to two times the same field name*/)
{
intnumVertices=this->problem_.gridView().size(dim);// numVertices for vertexCentereed, numVolumes for volume centered
if(velocityAveragingInModelandnotvelocityOutput/*only one of the two output options, otherwise paraview segfaults due to two timies the same field name*/){
if(velocityAveragingInModel&&!velocityOutput/*only one of the two output options, otherwise paraview segfaults due to two timies the same field name*/)