Feellgood
Classes | Enumerations
feellgoodSettings.h File Reference

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 "spinTransferTorque.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  field_exprType { UNDEF = -1 , RtoR3 = 1 , R4toR3 = 2 }
 

Detailed Description

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.

Enumeration Type Documentation

◆ 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