Chi-Tech
curvilinear_angular_quadrature.h
Go to the documentation of this file.
1
#ifndef CURVILINEAR_ANGULAR_QUADRATURE_H
2
#define CURVILINEAR_ANGULAR_QUADRATURE_H
3
4
#include "
math/Quadratures/angular_product_quadrature.h
"
5
6
namespace
chi_math
7
{
8
class
CurvilinearAngularQuadrature;
9
}
10
11
/** Base class for curvilinear angular quadratures (product angular
12
* quadratures with additional direction-dependent parameters).
13
*/
14
class
chi_math::CurvilinearAngularQuadrature
:
public
chi_math::ProductQuadrature
15
{
16
// Attributes
17
protected
:
18
/** Factor to account for angular diamond differencing. */
19
std::vector<double>
fac_diamond_difference_
;
20
/** Factor to account for discretisation of the component of the streaming
21
* operator that contains the angular derivative. */
22
std::vector<double>
fac_streaming_operator_
;
23
24
// Methods
25
public
:
26
/** Return constant reference to fac_diamond_difference. */
27
const
std::vector<double>&
GetDiamondDifferenceFactor
()
const
28
{
return
fac_diamond_difference_
; }
29
/** Return constant reference to fac_streaming_operator. */
30
const
std::vector<double>&
GetStreamingOperatorFactor
()
const
31
{
return
fac_streaming_operator_
; }
32
protected
:
33
/** Default constructor. */
34
CurvilinearAngularQuadrature
() =
default
;
35
/** Default destructor. */
36
virtual
~CurvilinearAngularQuadrature
() =
default
;
37
};
38
39
#endif
// CURVILINEAR_ANGULAR_QUADRATURE_H
angular_product_quadrature.h
chi_math::CurvilinearAngularQuadrature
Definition:
curvilinear_angular_quadrature.h:15
chi_math::CurvilinearAngularQuadrature::fac_streaming_operator_
std::vector< double > fac_streaming_operator_
Definition:
curvilinear_angular_quadrature.h:22
chi_math::CurvilinearAngularQuadrature::fac_diamond_difference_
std::vector< double > fac_diamond_difference_
Definition:
curvilinear_angular_quadrature.h:19
chi_math::CurvilinearAngularQuadrature::CurvilinearAngularQuadrature
CurvilinearAngularQuadrature()=default
chi_math::CurvilinearAngularQuadrature::GetStreamingOperatorFactor
const std::vector< double > & GetStreamingOperatorFactor() const
Definition:
curvilinear_angular_quadrature.h:30
chi_math::CurvilinearAngularQuadrature::GetDiamondDifferenceFactor
const std::vector< double > & GetDiamondDifferenceFactor() const
Definition:
curvilinear_angular_quadrature.h:27
chi_math::CurvilinearAngularQuadrature::~CurvilinearAngularQuadrature
virtual ~CurvilinearAngularQuadrature()=default
chi_math::ProductQuadrature
Definition:
angular_product_quadrature.h:31
chi_math
Definition:
chi_runtime.h:42
framework
math
Quadratures
curvilinear_angular_quadrature.h
Generated by
1.9.3