mirror of
https://codeberg.org/vcbferreira/NuFI_deal.ii
synced 2026-08-12 14:33:18 +02:00
eval with point_value() working
This commit is contained in:
+12
-13
@@ -13,34 +13,33 @@ namespace Parameters
|
||||
constexpr double LX = std::abs(X_DOMAIN_RIGHT- X_DOMAIN_LEFT);
|
||||
constexpr double LX_INV = 1/LX;
|
||||
|
||||
constexpr size_t CALC_NX = 256;
|
||||
constexpr double CALC_DX = LX/CALC_NX;
|
||||
|
||||
constexpr double V_DOMAIN_LEFT = -10.;
|
||||
constexpr double V_DOMAIN_RIGHT = 10.;
|
||||
|
||||
constexpr unsigned int NV = 512;
|
||||
constexpr unsigned int NV = 256;
|
||||
constexpr double DV = std::abs(V_DOMAIN_RIGHT - V_DOMAIN_LEFT)/NV;
|
||||
|
||||
// deal.ii options
|
||||
constexpr unsigned int GLOBAL_REFINEMENT = 8;
|
||||
constexpr unsigned int FE_DEGREE = 4;
|
||||
constexpr unsigned int CONVERGENCE_ITERATIONS = 10000;
|
||||
constexpr double CONVERGENCE_LIMIT = 1e-12;
|
||||
constexpr unsigned int FE_DEGREE = 3;
|
||||
constexpr unsigned int CONVERGENCE_ITERATIONS = 5000;
|
||||
constexpr double CONVERGENCE_LIMIT = 1e-8;
|
||||
|
||||
constexpr double EPS = 0.01;
|
||||
constexpr double WAVE_NR = 0.5;
|
||||
constexpr double F0_FACTOR = 0.39894228040143267793994; // 1/sqrt(2pi)
|
||||
|
||||
// NUFI options
|
||||
constexpr double DT=1./16.;
|
||||
constexpr unsigned int TMAX = 500;
|
||||
|
||||
//spline options
|
||||
constexpr int SPLINE_NX = 256;
|
||||
constexpr double SPLINE_DX = LX/(SPLINE_NX);
|
||||
constexpr double SPLINE_DX_INV = 1/SPLINE_DX;
|
||||
constexpr size_t SPLINE_ORDER = 4;
|
||||
constexpr double DT=1./4.;
|
||||
constexpr unsigned int TMAX = 50;
|
||||
|
||||
//Plotting options
|
||||
constexpr int PLOT_FREQUENCY = 10;
|
||||
constexpr int PLOT_FREQUENCY = 20;
|
||||
constexpr size_t PLOT_NX = 256;
|
||||
constexpr double PLOT_DX = LX/PLOT_NX;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user