File latticebcspec.h
File List > code_source > templat > include > TempLat > lattice > latticebcspec.h
Go to the documentation of this file
#ifndef TEMPLAT_LATTICE_LATTICEBCSPEC_H
#define TEMPLAT_LATTICE_LATTICEBCSPEC_H
/* This file is part of CosmoLattice, available at www.cosmolattice.net .
Copyright Daniel G. Figueroa, Adrien Florio, Francisco Torrenti and Wessel Valkenburg.
Released under the MIT license, see LICENSE.md. */
#include "TempLat/lattice/ghostcells/boundaryconditions.h"
namespace TempLat
{
template <size_t NDim> struct LatticeBCSpec {
BCSpec<NDim> bc;
LatticeBCSpec() : bc(allPeriodic<NDim>()) {}
explicit LatticeBCSpec(BCSpec<NDim> pBc) : bc(pBc) {}
};
} // namespace TempLat
#endif