MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
couplinglpt.h
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#ifndef COUPLINGLPT_H_
8#define COUPLINGLPT_H_
9
10#include "LPT/lpt.h"
11#include "coupling.h"
12#include "couplingutils.h"
13#include "solver.h"
14
15// Forward declarations
16template <MInt nDim>
18
19template <MInt nDim, class CouplingFlowSolver>
20class CouplingLpt : public CouplingParticle<nDim>, public CouplingFlowSolver {
21 public:
22 // Typedefs
23 using FlowSolver = typename CouplingFlowSolver::solverType;
25 using CouplingParticle<nDim>::lpt;
26
27 // Conversion factor type
41 };
42
45
46 // Constructor & Destructor
47 CouplingLpt(const MInt couplingId, Lpt* particle, FlowSolver* flowSolver)
48 : Coupling(couplingId), CouplingParticle<nDim>(couplingId, particle), CouplingFlowSolver(couplingId, flowSolver){};
49 virtual ~CouplingLpt() = default;
50};
51
52#endif // ifndef COUPLINGLPT_H_
virtual ~CouplingLpt()=default
typename CouplingFlowSolver::solverType FlowSolver
Definition: couplinglpt.h:23
ConversionFactor conversionLptFlow
Definition: couplinglpt.h:44
CouplingLpt(const MInt couplingId, Lpt *particle, FlowSolver *flowSolver)
Definition: couplinglpt.h:47
typename CouplingParticle< nDim >::solverType Lpt
Definition: couplinglpt.h:24
ConversionFactor conversionFlowLpt
Definition: couplinglpt.h:43
virtual LPT< nDim > & lpt() const
Definition: coupling.h:576
Definition: lpt.h:82
int32_t MInt
Definition: maiatypes.h:62
double MFloat
Definition: maiatypes.h:52