mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
cosmetic fixes in DiffusionInit.cpp
This commit is contained in:
parent
6eab2a72eb
commit
214f9f87b7
@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <tug/Boundary.hpp>
|
#include <tug/Boundary.hpp>
|
||||||
// leave above Rcpp includes, as eigen seem to have problems with a preceding
|
// leave above Rcpp includes, as eigen seem to have problems with a preceding
|
||||||
@ -29,9 +27,9 @@ namespace poet {
|
|||||||
enum SEXP_TYPE { SEXP_IS_LIST, SEXP_IS_VEC };
|
enum SEXP_TYPE { SEXP_IS_LIST, SEXP_IS_VEC };
|
||||||
|
|
||||||
const std::map<std::uint8_t, std::string> tug_side_mapping = {
|
const std::map<std::uint8_t, std::string> tug_side_mapping = {
|
||||||
{tug::BC_SIDE_RIGHT, "E"},
|
{tug::BC_SIDE_RIGHT , "E"},
|
||||||
{tug::BC_SIDE_LEFT, "W"},
|
{tug::BC_SIDE_LEFT , "W"},
|
||||||
{tug::BC_SIDE_TOP, "N"},
|
{tug::BC_SIDE_TOP , "N"},
|
||||||
{tug::BC_SIDE_BOTTOM, "S"}};
|
{tug::BC_SIDE_BOTTOM, "S"}};
|
||||||
|
|
||||||
static std::vector<TugType> colMajToRowMaj(const Rcpp::NumericVector &vec,
|
static std::vector<TugType> colMajToRowMaj(const Rcpp::NumericVector &vec,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user