Skip to content

Commit b7fd881

Browse files
committed
op - minor naming consistency
1 parent 5a52649 commit b7fd881

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

interface/ceed-operator.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,16 @@ static int CeedOperatorCheckField(Ceed ceed, CeedQFunctionField qf_field, CeedEl
8888
@param[in] qf_field `CeedQFunction` Field (carries field name)
8989
@param[in] field_number Number of field being viewed
9090
@param[in] tabs Tabs to append before each line
91-
@param[in] input true for an input field; false for output field
91+
@param[in] is_input `true` for an input field; `false` for output field
9292
@param[in] stream Stream to view to, e.g., `stdout`
9393
9494
@return An error code: 0 - success, otherwise - failure
9595
9696
@ref Utility
9797
**/
98-
static int CeedOperatorFieldView(CeedOperatorField op_field, CeedQFunctionField qf_field, CeedInt field_number, const char *tabs, bool input,
98+
static int CeedOperatorFieldView(CeedOperatorField op_field, CeedQFunctionField qf_field, CeedInt field_number, const char *tabs, bool is_input,
9999
FILE *stream) {
100-
const char *in_out = input ? "Input" : "Output";
100+
const char *field_type = is_input ? "Input" : "Output";
101101
const char *field_name;
102102
CeedInt size;
103103
CeedEvalMode eval_mode;
@@ -112,7 +112,7 @@ static int CeedOperatorFieldView(CeedOperatorField op_field, CeedQFunctionField
112112
"%s %s field %" CeedInt_FMT
113113
":\n"
114114
"%s Name: \"%s\"\n",
115-
tabs, in_out, field_number, tabs, field_name);
115+
tabs, field_type, field_number, tabs, field_name);
116116
fprintf(stream, "%s Size: %" CeedInt_FMT "\n", tabs, size);
117117
fprintf(stream, "%s EvalMode: %s\n", tabs, CeedEvalModes[eval_mode]);
118118
if (basis == CEED_BASIS_NONE) fprintf(stream, "%s No basis\n", tabs);

0 commit comments

Comments
 (0)