Skip to content
Snippets Groups Projects
surfaceFieldValue.C 24.9 KiB
Newer Older
  • Learn to ignore specific revisions
  •         }
            else if (validField<vector>(weightFieldName_))
            {
    
                    getFieldValues<vector>
                    (
                        weightFieldName_,
                        true,
                        orientWeightField_
                    )
    
                // Process the fields
                writeAll(Sf, weightField, surfToWrite);
            }
            else
    
                FatalErrorInFunction
                    << "weightField " << weightFieldName_
                    << " not found or an unsupported type"
                    << abort(FatalError);
    
        else
        {
            // Default is a zero-size scalar weight field (ie, weight = 1)
            scalarField weightField;
    
            // Process the fields
            writeAll(Sf, weightField, surfToWrite);
        }
    
        if (operation_ != opNone && Pstream::master())
    
    }
    
    
    // ************************************************************************* //