-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Remove redundant header includes from .cpp files.
Also, header files should be included as follows:
- System (C++ libraries) level headers
- Other dependencies (e.g.
mfem,Adept,...) - Our own (
mach) headers
There should be a space between each of these groups. Here is an example:
#ifndef MACH_SOLVER
#define MACH_SOLVER
#include <fstream>
#include <iostream>
#include "mfem.hpp"
#include "adept.h"
#ifdef MFEM_USE_SIMMETRIX
#include <SimUtil.h>
#include <gmi_sim.h>
#endif
#ifdef MFEM_USE_PUMI
#include <apfMDS.h>
#include <gmi_null.h>
#include <PCU.h>
#include <apfConvert.h>
#include <gmi_mesh.h>
#include <crv.h>
#endif
#include "mach_types.hpp"
#include "utils.hpp"
#include "json.hpp"
Metadata
Metadata
Assignees
Labels
No labels