Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
133012e2
Commit
133012e2
authored
Nov 27, 2020
by
Steffen Schotthöfer
Browse files
commented kernel classes
parent
20f65b36
Pipeline
#119920
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
code/include/kernels/isotropic.h
View file @
133012e2
/*!
* @file isotropic1D.h
* @brief Class for computing an isotropic scattering kernel of kinetic equations
* @author ?
*/
#ifndef ISOTROPIC_H
#define ISOTROPIC_H
...
...
code/include/kernels/isotropic1D.h
View file @
133012e2
/*!
* @file isotropic1D.h
* @brief Class for computing an isotropic scattering kernel of 1D kinetic equations
* @author ?
*/
#ifndef ISOTROPIC1D_H
#define ISOTROPIC1D_H
...
...
code/include/kernels/scatteringkernelbase.h
View file @
133012e2
/*!
* @file scatteringkernelbase.h
* @brief Base class for computing the scattering kernel of kinetic equations
* @author ?
*/
#ifndef SCATTERINGKERNELBASE_CPP
#define SCATTERINGKERNELBASE_CPP
...
...
@@ -13,14 +19,19 @@ class ScatteringKernel
ScatteringKernel
()
=
delete
;
protected:
QuadratureBase
*
_quad
;
QuadratureBase
*
_quad
;
/*! @brief: Pointer to the quadrature used to compute the scattering integral */
public:
/*! @brief: Copies the pointer of quad. Does not create an own quad */
ScatteringKernel
(
QuadratureBase
*
quad
);
virtual
~
ScatteringKernel
();
/*! @brief: Computes the scattering kernel and for the whole SN system and stores it in a Matrix
@return: Matrix with discretized scattering kernel */
virtual
Matrix
GetScatteringKernel
()
=
0
;
/*! @brief: Creates an object of the child class of ScatteringKernelBase corresponding to the enum KERNEL_NAME */
static
ScatteringKernel
*
CreateScatteringKernel
(
KERNEL_NAME
name
,
QuadratureBase
*
quad
);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment