MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
dgcartesianbcfactorylinearscalaradv.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7#include "INCLUDE/maiatypes.h"
11
12// Includes for boundary conditions start here
13#include "dgcartesianbcexact.h"
14
15namespace maia {
16namespace dg {
17namespace bc {
18namespace factory {
19
20template <MInt nDim>
21struct Init<nDim, DgSysEqnLinearScalarAdv<nDim>> {
24 static void init(FactoryType& factory);
25};
26
27template <MInt nDim>
29 // Import namespace for ease-of-use
30 using namespace maia::dg::bc;
31
32 // Add all boundary conditions with a unique boundary condition id
33 factory.add(0, Type<DgBcExact<nDim, SysEqn>>());
34
35 // boundary condition ids for sponge bcs
36}
37
41
42} // namespace factory
43} // namespace bc
44} // namespace dg
45} // namespace maia
46
Boundary condition which imposes initial condition ("exact" boundary conditions) at the domain bounda...
Class to handle creation of boundary condition objects.
MBool add(const IdType id, maia::dg::bc::Type< T >)
Add new type to factory.
Namespace for auxiliary functions/classes.
Simple type-to-type mapper for function overloading.
static void init(FactoryType &factory)