v0.14.0 |
#include <stdlib.h>
#include <cmath>
#include <MoFEM.hpp>
#include <boost/math/quadrature/gauss_kronrod.hpp>
Go to the source code of this file.
Classes | |
struct | ElementsAndOps< DIM > |
struct | OpError |
struct | PhotonDiffusion |
Macros | |
#define | BOOST_MATH_GAUSS_NO_COMPUTE_ON_DEMAND |
Typedefs | |
using | DomainEle = VolumeElementForcesAndSourcesCore |
[Define dimension] More... | |
using | DomainEleOp = DomainEle::UserDataOperator |
using | PostProcEle = PostProcBrokenMeshInMoab< DomainEle > |
using | OpDomainMass = FormsIntegrators< DomainEleOp >::Assembly< PETSC >::BiLinearForm< GAUSS >::OpMass< 1, 1 > |
using | OpDomainGradGrad = FormsIntegrators< DomainEleOp >::Assembly< PETSC >::BiLinearForm< GAUSS >::OpGradGrad< 1, 1, SPACE_DIM > |
using | OpDomainTimesScalarField = FormsIntegrators< DomainEleOp >::Assembly< PETSC >::LinearForm< GAUSS >::OpBaseTimesScalar< 1 > |
using | OpDomainGradTimesVec = FormsIntegrators< DomainEleOp >::Assembly< PETSC >::LinearForm< GAUSS >::OpGradTimesTensor< 1, 1, SPACE_DIM > |
using | OpDomainSource = FormsIntegrators< DomainEleOp >::Assembly< PETSC >::LinearForm< GAUSS >::OpSource< 1, 1 > |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
static char | help [] = "...\n\n" |
constexpr int | SPACE_DIM = 3 |
[Define dimension] More... | |
const double | n = 1.44 |
refractive index of diffusive medium More... | |
const double | c = 30. |
speed of light (cm/ns) More... | |
const double | v = c / n |
phase velocity of light in medium (cm/ns) More... | |
double | mu_a |
absorption coefficient (cm^-1) More... | |
double | mu_sp |
scattering coefficient (cm^-1) More... | |
double | D |
double | slab_thickness |
double | beam_radius |
double | beam_centre_x |
double | beam_centre_y |
double | flux_magnitude = 1e3 |
impulse magnitude More... | |
double | initial_time |
char | out_file_name [255] = "init_file.dat" |
int | numHoLevels = 1 |
PetscBool | output_volume = PETSC_FALSE |
#define BOOST_MATH_GAUSS_NO_COMPUTE_ON_DEMAND |
Definition at line 11 of file initial_diffusion.cpp.
[Define dimension]
Definition at line 23 of file initial_diffusion.cpp.
Definition at line 24 of file initial_diffusion.cpp.
using OpDomainGradGrad = FormsIntegrators<DomainEleOp>::Assembly< PETSC>::BiLinearForm<GAUSS>::OpGradGrad<1, 1, SPACE_DIM> |
Definition at line 30 of file initial_diffusion.cpp.
using OpDomainGradTimesVec = FormsIntegrators<DomainEleOp>::Assembly< PETSC>::LinearForm<GAUSS>::OpGradTimesTensor<1, 1, SPACE_DIM> |
Definition at line 34 of file initial_diffusion.cpp.
using OpDomainMass = FormsIntegrators<DomainEleOp>::Assembly< PETSC>::BiLinearForm<GAUSS>::OpMass<1, 1> |
Definition at line 28 of file initial_diffusion.cpp.
using OpDomainSource = FormsIntegrators<DomainEleOp>::Assembly< PETSC>::LinearForm<GAUSS>::OpSource<1, 1> |
Definition at line 36 of file initial_diffusion.cpp.
using OpDomainTimesScalarField = FormsIntegrators<DomainEleOp>::Assembly< PETSC>::LinearForm<GAUSS>::OpBaseTimesScalar<1> |
Definition at line 32 of file initial_diffusion.cpp.
using PostProcEle = PostProcBrokenMeshInMoab<DomainEle> |
Definition at line 25 of file initial_diffusion.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 399 of file initial_diffusion.cpp.
double beam_centre_x |
Definition at line 48 of file initial_diffusion.cpp.
double beam_centre_y |
Definition at line 49 of file initial_diffusion.cpp.
double beam_radius |
Definition at line 47 of file initial_diffusion.cpp.
const double c = 30. |
speed of light (cm/ns)
Definition at line 39 of file initial_diffusion.cpp.
double D |
Definition at line 44 of file initial_diffusion.cpp.
double flux_magnitude = 1e3 |
impulse magnitude
Definition at line 50 of file initial_diffusion.cpp.
|
static |
Definition at line 15 of file initial_diffusion.cpp.
double initial_time |
Definition at line 51 of file initial_diffusion.cpp.
double mu_a |
absorption coefficient (cm^-1)
Definition at line 42 of file initial_diffusion.cpp.
double mu_sp |
scattering coefficient (cm^-1)
Definition at line 43 of file initial_diffusion.cpp.
const double n = 1.44 |
refractive index of diffusive medium
Definition at line 38 of file initial_diffusion.cpp.
int numHoLevels = 1 |
Definition at line 54 of file initial_diffusion.cpp.
char out_file_name[255] = "init_file.dat" |
Definition at line 53 of file initial_diffusion.cpp.
PetscBool output_volume = PETSC_FALSE |
Definition at line 56 of file initial_diffusion.cpp.
double slab_thickness |
Definition at line 46 of file initial_diffusion.cpp.
|
constexpr |
[Define dimension]
Definition at line 20 of file initial_diffusion.cpp.
phase velocity of light in medium (cm/ns)
Definition at line 40 of file initial_diffusion.cpp.