/home/runner/work/kynema-sgf/kynema-sgf/src/wind_energy/actuator/actuator_ops.H Source File

Kynema-SGF API: /home/runner/work/kynema-sgf/kynema-sgf/src/wind_energy/actuator/actuator_ops.H Source File
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
actuator_ops.H
Go to the documentation of this file.
1#ifndef ACT_OPS_H
2#define ACT_OPS_H
3
7#include "AMReX_Vector.H"
8
9#include <optional>
10
12
21template <typename ActTrait, typename SrcTrait, typename = void>
23
34template <typename ActTrait, typename SrcTrait, typename = void>
36
45template <typename ActTrait, typename SrcTrait, typename = void>
47
56template <typename ActTrait, typename SrcTrait, typename = void>
58
63template <typename ActTrait, typename SrcTrait, typename = void>
65
70template <typename ActTrait, typename SrcTrait, typename = void>
72
73template <typename ActTrait, typename SrcTrait, typename = void>
75
81template <typename ActTrait, typename SrcTrait, typename = void>
83{
84 [[nodiscard]] amrex::Vector<ActuatorRefinementGeometry> operator()(
85 const typename ActTrait::DataType& /*data*/, amrex::Real /*time*/) const
86 {
87 return {};
88 }
89};
90
97template <typename ActTrait, typename SrcTrait, typename = void>
99{
100 [[nodiscard]] std::optional<motion::RigidTransform> operator()(
101 const typename ActTrait::DataType& /*data*/, amrex::Real /*time*/) const
102 {
103 return std::nullopt;
104 }
105};
106
114template <typename T>
115void determine_influenced_procs(typename T::DataType& /*data*/);
116
125template <typename T>
127 typename T::DataType& /*data*/, amrex::Vector<int>& /*act_proc_count*/);
128
129} // namespace kynema_sgf::actuator::ops
130
132
133#endif /* ACT_OPS_H */
Definition actuator_ops.H:71
Definition ActSrcLineOp.H:12
void determine_root_proc(typename T::DataType &, amrex::Vector< int > &)
Definition actuator_opsI.H:32
void determine_influenced_procs(typename T::DataType &)
Definition actuator_opsI.H:12
Definition actuator_ops.H:64
Definition actuator_ops.H:35
Definition actuator_ops.H:22
std::optional< motion::RigidTransform > operator()(const typename ActTrait::DataType &, amrex::Real) const
Definition actuator_ops.H:100
amrex::Vector< ActuatorRefinementGeometry > operator()(const typename ActTrait::DataType &, amrex::Real) const
Definition actuator_ops.H:84
Definition actuator_ops.H:46
Definition actuator_ops.H:57