/home/runner/work/amr-wind/amr-wind/amr-wind/core/MeshMap.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/core/MeshMap.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
MeshMap.H
Go to the documentation of this file.
1#ifndef MESHMAP_H
2#define MESHMAP_H
3
7
8#include "AMReX_MultiFab.H"
9#include "AMReX_Geometry.H"
10
11namespace amr_wind {
12
13class CFDSim;
14
30class MeshMap : public Factory<MeshMap>
31{
32public:
33 static std::string base_identifier() { return "MeshMap"; }
34
35 ~MeshMap() override = default;
36
38 void declare_mapping_fields(const CFDSim& /*sim*/, int /*nghost*/);
39
41 virtual void create_map(int, const amrex::Geometry&) = 0;
42
43protected:
49
55
58};
59
60} // namespace amr_wind
61
62#endif /* MESHMAP_H */
Definition CFDSim.H:47
Definition Field.H:116
Definition MeshMap.H:31
Field * m_mesh_scale_detJ_nd
Definition MeshMap.H:51
virtual void create_map(int, const amrex::Geometry &)=0
Construct mesh scaling field.
Field * m_mesh_scale_detJ_zf
Definition MeshMap.H:54
Field * m_mesh_scale_detJ_cc
Definition MeshMap.H:50
~MeshMap() override=default
Field * m_non_uniform_coord_cc
Definition MeshMap.H:56
Field * m_mesh_scale_fac_nd
Definition MeshMap.H:45
Field * m_mesh_scale_fac_zf
Definition MeshMap.H:48
Field * m_mesh_scale_fac_xf
Definition MeshMap.H:46
Field * m_mesh_scale_fac_yf
Definition MeshMap.H:47
void declare_mapping_fields(const CFDSim &, int)
declare mesh mapping fields
Definition MeshMap.cpp:6
Field * m_non_uniform_coord_nd
Definition MeshMap.H:57
Field * m_mesh_scale_detJ_xf
Definition MeshMap.H:52
Field * m_mesh_scale_detJ_yf
Definition MeshMap.H:53
Field * m_mesh_scale_fac_cc
Definition MeshMap.H:44
static std::string base_identifier()
Definition MeshMap.H:33
Definition BCInterface.cpp:7
Definition Factory.H:65