Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
scenario.cpp File Reference
#include <random>
#include <iostream>
#include "scenario.h"
#include "field.h"
Include dependency graph for scenario.cpp:

Go to the source code of this file.

Macros

#define cross_product(av, bv)
#define dot_product(av, bv)
#define vector_length(v)
#define normalize_vector(v)

Functions

ScenariocreateScenario (std::string name)

Macro Definition Documentation

◆ cross_product

#define cross_product ( av,
bv )
Value:
(av).cross(bv)

Definition at line 27 of file scenario.cpp.

◆ dot_product

#define dot_product ( av,
bv )
Value:
(av).dot(bv)

Definition at line 28 of file scenario.cpp.

◆ normalize_vector

#define normalize_vector ( v)
Value:
(v).normalized()

Definition at line 30 of file scenario.cpp.

◆ vector_length

#define vector_length ( v)
Value:
(v).norm()

Definition at line 29 of file scenario.cpp.

Function Documentation

◆ createScenario()

Scenario * createScenario ( std::string name)

Definition at line 423 of file scenario.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: