OpenLB 1.7
Loading...
Searching...
No Matches
eul2LagrDensity3D.h
Go to the documentation of this file.
1/* This file is part of the porous model described in
2 * Guo and Zhao (2002) and implemented for OpenLB
3 *
4 * Copyright (C) 2016-2017 Davide Dapelo, Mathias J. Krause
5 * E-mail contact: dapelod@bham.ac.uk
6 *
7 * OpenLB e-mail contact: info@openlb.net
8 * The most recent release of OpenLB can be downloaded at
9 * <http://www.openlb.net/>
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this program; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301, USA.
25*/
26
32#ifndef EUL2LAGR_DENSITY_H
33#define EUL2LAGR_DENSITY_H
34
36
37namespace olb {
38
40template <typename T, typename DESCRIPTOR>
41class BlockLatticeEul2LagrDensity3D final : public BlockLatticeF3D<T,DESCRIPTOR> {
42public:
44 bool operator() (T output[], const int input[]) override;
45};
46
48template <typename T, typename DESCRIPTOR>
49class SuperLatticeEul2LagrDensity3D final : public SuperLatticeF3D<T,DESCRIPTOR> {
50public:
52};
53
54
55}
56
57#endif
functor returns pointwise external field for Lagrangian particle density, converted to Eulerian
bool operator()(T output[], const int input[]) override
has to be implemented for 'every' derived class
BlockLatticeEul2LagrDensity3D(BlockLattice< T, DESCRIPTOR > &blockLattice)
represents all functors that operate on a DESCRIPTOR in general, e.g. getVelocity(),...
Platform-abstracted block lattice for external access and inter-block interaction.
functor to get pointwise external field for Lagrangian particle density, converted to Eulerian
SuperLatticeEul2LagrDensity3D(SuperLattice< T, DESCRIPTOR > &sLattice)
represents all functors that operate on a SuperLattice in general, e.g. getVelocity(),...
Super class maintaining block lattices for a cuboid decomposition.
Groups all include files for the directory genericFunctions.
Top level namespace for all of OpenLB.