18 #include <athena/athena.hpp>
19 #include <athena/mesh/mesh.hpp>
26 #include <application/application.hpp>
27 #include <application/exceptions.hpp>
33 int nvalue,
int k,
int j)
const {
34 std::stringstream msg;
35 Application::Logger app(
"inversion");
37 app->Log(
"VLAProfileInversion::CalculateFitTarget");
38 app->Log(
"model = " + std::to_string(
j));
41 throw ValueError(
"CalculateFitTarget",
"nvalue", prad->
GetNumBands(),
46 std::vector<Real> mus, tbs;
52 int ndir = pband->GetNumOutgoingRays();
56 for (
int n = 0; n < ndir; ++n) mus[n] = pband->GetCosinePolarAngle(n);
MeshBlock const * pmy_block_
pointer to parent MeshBlock
std::shared_ptr< RadiationBand > GetBand(int i) const
Get band by index.
size_t GetNumBands() const
Get number of bands.
AthenaArray< Real > radiance
radiance of all bands
void CalculateFitTarget(Radiation const *prad, Real *val, int nvalue, int k, int j) const override