|
Feellgood
|
many settings to give some parameters to the solver, boundary conditions for the problem, the output file format wanted by the user. This is done mainly with the class Settings. More...
#include <cmath>#include <iostream>#include <map>#include <string>#include <vector>#include <yaml-cpp/yaml.h>#include "expression_parser.h"#include "facette.h"#include "tetra.h"#include "time_integration.h"Go to the source code of this file.
Classes | |
| class | Settings |
| Container for all the settings provided by the user, with conversions to/from YAML. More... | |
Enumerations | |
| enum | mag_exprType { POSITION_ONLY , POSITION_AND_REGIONS } |
| enum | field_exprType { UNDEF = -1 , RtoR3 = 1 , R4toR3 = 2 } |
many settings to give some parameters to the solver, boundary conditions for the problem, the output file format wanted by the user. This is done mainly with the class Settings.
| enum field_exprType |
Specify how the applied magnetic field is defined using JavaScript functions. The choices are:
RtoR3: B(t), a vector function of time only, for a uniform applied field.R4toR3: B(x, y, z, t) = A(t) f(x, y, z), the product of a scalar function of space and a vector function of time.It is not possible to define the field as a general function B(x, y, z, t), as that would require an unreasonable number of evaluations.
| Enumerator | |
|---|---|
| UNDEF | undefined |
| RtoR3 | B(t) |
| R4toR3 | B(x, y, z, t) = A(t) f(x, y, z), where A(t) is a scalar and f(x, y, z) is a vector |
| enum mag_exprType |
Specify how the initial magnetization is defined as a JavaScript function. It is either a function of (x, y, z), the position coordinates of the node, or it takes a fourth parameter, which is an array of strings with the names of the mesh volume regions the node belongs to.
| Enumerator | |
|---|---|
| POSITION_ONLY | M(x, y, z) |
| POSITION_AND_REGIONS | M(x, y, z, regions) |