/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/sampling/SamplingUtils.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/sampling/SamplingUtils.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
SamplingUtils.H
Go to the documentation of this file.
1#ifndef SAMPLINGUTILS_H
2#define SAMPLINGUTILS_H
3
4#include <string>
5#include "AMReX_Vector.H"
8
10
16// void inject_turbulence_src_terms(
17// const std::string& key, const amrex::Vector<std::string>& terms);
18
20
22vs::Vector rotate_euler_vec(vs::Vector axis, double angle, vs::Vector vec);
24rotate_euler_vector(vs::Vector& axis, double& angle, vs::Vector& vec);
25vs::Vector rotation(const vs::Vector& angles, const vs::Vector& data);
26vs::Vector canon_rotator(const vs::Vector& angles, const vs::Vector& data);
30vs::Tensor scale(vs::Tensor v, double a);
31
33 double gammav,
34 int ntheta,
35 std::vector<double> abscissae1D,
36 std::vector<double> weights1D,
37 std::vector<vs::Vector>& rays,
38 std::vector<double>& weights);
39
41 double gammav,
42 int ntheta,
43 NormalRule rule,
44 std::vector<vs::Vector>& rays,
45 std::vector<double>& weights);
46
47std::pair<std::vector<double>, std::vector<double>>
49
50} // namespace amr_wind::sampling::sampling_utils
51
52#endif /* SAMPLINGUTILS_H */
Definition SamplingUtils.cpp:4
vs::Vector rotation(const vs::Vector &angles, const vs::Vector &data)
Definition SamplingUtils.cpp:34
vs::Tensor scale(vs::Tensor v, double a)
Definition SamplingUtils.cpp:74
vs::Tensor rotation_matrix(vs::Vector dst, vs::Vector src)
Definition SamplingUtils.cpp:55
void spherical_cap_truncated_normal(double gammav, int ntheta, NormalRule rule, std::vector< vs::Vector > &rays, std::vector< double > &weights)
Definition SamplingUtils.cpp:129
vs::Vector reflect(vs::Vector line, vs::Vector vec)
Definition SamplingUtils.cpp:6
vs::Vector rotate_euler_vec(vs::Vector axis, double angle, vs::Vector vec)
Definition SamplingUtils.cpp:19
vs::Vector rotate_euler_vector(vs::Vector &axis, double &angle, vs::Vector &vec)
Definition SamplingUtils.cpp:27
std::pair< std::vector< double >, std::vector< double > > truncated_normal_rule(NormalRule rule)
Definition SamplingUtils.cpp:151
vs::Tensor unit_projection_matrix(const vs::Vector &a)
Definition SamplingUtils.cpp:49
NormalRule
Definition SamplingUtils.H:19
vs::Vector canon_rotator(const vs::Vector &angles, const vs::Vector &data)
Definition SamplingUtils.cpp:41
void spherical_cap_quadrature(double gammav, int ntheta, std::vector< double > abscissae1D, std::vector< double > weights1D, std::vector< vs::Vector > &rays, std::vector< double > &weights)
Definition SamplingUtils.cpp:83
vs::Tensor skew_cross(vs::Vector a, vs::Vector b)
Definition SamplingUtils.cpp:67
Definition tensor.H:14
Definition vector.H:13