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
16
template
<MInt nDim>
17
class
CouplingParticle
;
18
19
template
<MInt nDim,
class
CouplingFlowSolver>
20
class
CouplingLpt
:
public
CouplingParticle
<nDim>,
public
CouplingFlowSolver {
21
public
:
22
// Typedefs
23
using
FlowSolver
=
typename
CouplingFlowSolver::solverType;
24
using
Lpt
=
typename
CouplingParticle<nDim>::solverType
;
25
using
CouplingParticle
<nDim>
::lpt
;
26
27
// Conversion factor type
28
struct
ConversionFactor
{
29
MFloat
velocity
{};
30
MFloat
velocitySlope
{};
31
MFloat
density
{};
32
MFloat
pressure
{};
33
MFloat
length
{};
34
MFloat
temperature
{};
35
MFloat
time
{};
36
MFloat
force
{};
37
MFloat
energy
{};
38
MFloat
mass
{};
39
MFloat
viscosity
{};
40
MFloat
momentum
{};
41
};
42
43
ConversionFactor
conversionFlowLpt
;
44
ConversionFactor
conversionLptFlow
;
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_
Coupling
Definition:
coupling.h:59
CouplingLpt
Definition:
couplinglpt.h:20
CouplingLpt::~CouplingLpt
virtual ~CouplingLpt()=default
CouplingLpt::FlowSolver
typename CouplingFlowSolver::solverType FlowSolver
Definition:
couplinglpt.h:23
CouplingLpt::conversionLptFlow
ConversionFactor conversionLptFlow
Definition:
couplinglpt.h:44
CouplingLpt::CouplingLpt
CouplingLpt(const MInt couplingId, Lpt *particle, FlowSolver *flowSolver)
Definition:
couplinglpt.h:47
CouplingLpt::Lpt
typename CouplingParticle< nDim >::solverType Lpt
Definition:
couplinglpt.h:24
CouplingLpt::conversionFlowLpt
ConversionFactor conversionFlowLpt
Definition:
couplinglpt.h:43
CouplingParticle
Definition:
coupling.h:558
CouplingParticle::lpt
virtual LPT< nDim > & lpt() const
Definition:
coupling.h:576
LPT
Definition:
lpt.h:82
coupling.h
couplingutils.h
lpt.h
MInt
int32_t MInt
Definition:
maiatypes.h:62
MFloat
double MFloat
Definition:
maiatypes.h:52
solver.h
CouplingLpt::ConversionFactor
Definition:
couplinglpt.h:28
CouplingLpt::ConversionFactor::mass
MFloat mass
Definition:
couplinglpt.h:38
CouplingLpt::ConversionFactor::velocity
MFloat velocity
Definition:
couplinglpt.h:29
CouplingLpt::ConversionFactor::length
MFloat length
Definition:
couplinglpt.h:33
CouplingLpt::ConversionFactor::pressure
MFloat pressure
Definition:
couplinglpt.h:32
CouplingLpt::ConversionFactor::temperature
MFloat temperature
Definition:
couplinglpt.h:34
CouplingLpt::ConversionFactor::momentum
MFloat momentum
Definition:
couplinglpt.h:40
CouplingLpt::ConversionFactor::force
MFloat force
Definition:
couplinglpt.h:36
CouplingLpt::ConversionFactor::velocitySlope
MFloat velocitySlope
Definition:
couplinglpt.h:30
CouplingLpt::ConversionFactor::energy
MFloat energy
Definition:
couplinglpt.h:37
CouplingLpt::ConversionFactor::time
MFloat time
Definition:
couplinglpt.h:35
CouplingLpt::ConversionFactor::density
MFloat density
Definition:
couplinglpt.h:31
CouplingLpt::ConversionFactor::viscosity
MFloat viscosity
Definition:
couplinglpt.h:39
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
COUPLER
couplinglpt.h
Generated on Sun Jun 16 2024 23:43:58 for MAIA by
1.9.5