Skip to content

Commit

Permalink
[clang-tidy] fix cppcoreguidelines-use-default-member-init check
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaraslaut committed Jul 19, 2024
1 parent d26293f commit 396ec78
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions palace/fem/libceed/integrator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,18 @@ enum EvalMode : unsigned int // NOLINT
struct CeedQFunctionInfo
{
// QFunctions for operator construction and application.
CeedQFunctionUser apply_qf;
CeedQFunctionUser apply_qf{nullptr};

// Path and name of the QFunctions for operator construction and application.
std::string apply_qf_path;

// Evaluation modes for the test and trial basis.
unsigned int trial_ops, test_ops;
unsigned int trial_ops{0}, test_ops{0};

// Control whether or not to pre-assemble the quadrature data or compute it during
// operator application in true matrix-free fashion.
bool assemble_q_data;
bool assemble_q_data{false};

CeedQFunctionInfo()
: apply_qf(nullptr), apply_qf_path(""), trial_ops(0), test_ops(0),
assemble_q_data(false)
{
}
};

// Helper function to get the geometry space dimension.
Expand Down

0 comments on commit 396ec78

Please sign in to comment.