surfaceFieldValueTemplates.C File Reference
Include dependency graph for surfaceFieldValueTemplates.C:

Go to the source code of this file.

Macros

#define writeValuesFieldType(fieldType, none)
 

Detailed Description

Original source file surfaceFieldValueTemplates.C

Definition in file surfaceFieldValueTemplates.C.

Macro Definition Documentation

◆ writeValuesFieldType

#define writeValuesFieldType (   fieldType,
  none 
)
Value:
{ \
fieldType result; \
\
const bool typeOk = \
processValues(values, signs, weights, Sf, result); \
if (typeOk) \
{ \
/* Add to result dictionary, over-writing any previous entry */\
resultDict_.add(fieldName, result, true); \
\
/* Write into the file and the log */ \
if (Pstream::master()) \
{ \
file() << tab << result; \
\
Log << " " << operationTypeNames_[operation_] \
<< "(" << selectionName_.c_str() << ") of " \
<< fieldName << " = " << result << endl; \
} \
} \
\
ok = ok || typeOk; \
}
if(!fvConstraints.PtrListDictionary< fvConstraint >::size())
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:258
static const char tab
Definition: Ostream.H:266