OpenLB 1.7
|
discretization of anisotrphic phasefunction DOI 10.1016/j.ijheatmasstransfer.2011.11.009 More...
#include <iostream>
#include <vector>
#include "utilities/omath.h"
#include <stdlib.h>
#include <fstream>
#include <iomanip>
#include <string>
#include <math.h>
#include "dynamics/descriptorFunction.h"
#include "core/util.h"
Go to the source code of this file.
Namespaces | |
namespace | olb |
Top level namespace for all of OpenLB. | |
Functions | |
double | olb::henyeyGreenstein (double cosTheta, double g) |
Function to compute Henyey Greenstein phase funtion. | |
template<int q, typename DESCRIPTOR > | |
std::array< double, q > | olb::testEnergyConservationColumn (const std::array< std::array< double, q >, q > &phi) |
template<int q, typename DESCRIPTOR > | |
std::array< double, q > | olb::testEnergyConservationRow (const std::array< std::array< double, q >, q > &phi) |
template<int q> | |
std::array< double, q > | olb::testAnisotropyConservationColumn (const std::array< std::array< double, q >, q > &phi, const double weights[q], std::array< std::array< double, q >, q > &cosTheta) |
std::vector< double > | olb::linespace (double const stepsize, double const a, double const b) |
Computes vector [a, a+stepsize, a+2*stepsize, ..., b]. | |
template<typename DESCRIPTOR > | |
void | olb::computeAnisotropyMatrix (double const stepsize, double const anisotropyFactor, double solution[(DESCRIPTOR::q-1) *((DESCRIPTOR::q-1)+1)/2], std::array< std::array< double, DESCRIPTOR::q-1 >, DESCRIPTOR::q-1 > &phi, int const breakAfter=-1) |
template<typename DESCRIPTOR > | |
void | olb::computeAnisotropyMatrixKimAndLee (double const anisotropyFactor, std::array< std::array< double, DESCRIPTOR::q >, DESCRIPTOR::q > &phi) |
discretization of anisotrphic phasefunction DOI 10.1016/j.ijheatmasstransfer.2011.11.009
Definition in file anisoDiscr.h.