This repository was archived by the owner on Dec 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPolyPole.h
More file actions
37 lines (30 loc) · 1.32 KB
/
PolyPole.h
File metadata and controls
37 lines (30 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2017 Battelle Energy Alliance, LLC
// Licensed under the Mozilla Public License version 2.0
// @author: Davide Pizzocri (davide.pizzocri@gmail.com)
// @author: Giovanni Pastore (giovanni.pastore@inl.gov)
// @author: Cristian Rabiti (cristian.rabiti@inl.gov)
#ifndef _POLYPOLE_H
#define _POLYPOLE_H
namespace polypole
{
// Numerical algorithm for the solution of the equilibrium diffusion equation
// Pizzocri et al., JNM 478 (2016) 333-342
//
// The algorithm requires auxiliary functions in order to sample
// diffusion and gas production rates along the time step
// These functions are provided in this namespace,
// intending that they are extendable or replaceable
double PolyPole1( double dt_sec,
double grn_radius,
double temp0,
double temp1,
double frate0,
double frate1,
double grn_gas_initial );
// Functions calculating the effective diffusion coefficient and the gas production rate
// May not be necessary as your code may already include functions that can be coupled to
// PolyPole to provide the algorithm with these input quantities.
double diffusion_coeff( double temperature );
double production_rate( double fissionrate );
}
#endif