ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
types_conversion.hpp File Reference
#include <core/DataTypes.h>
#include <core/math/Matrix3.h>
#include <core/math/Vector3.h>
#include <utils/Vector.hpp>
#include <utils/interpolation/bspline_3d.hpp>
+ Include dependency graph for types_conversion.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  walberla
 \file PackInfoPdfDoublePrecision.cpp \author pystencils
 

Functions

template<typename T , typename U = T>
walberla::es2walberla (T v)
 
template<>
Vector3< float > walberla::es2walberla (Utils::Vector3d const v)
 
template<>
Vector3< double > walberla::es2walberla (Utils::Vector3d const v)
 
template<typename T >
walberla::walberla2es (T v)
 
Utils::Vector3d walberla::walberla2es (Vector3< float > const v)
 
Utils::Vector3d walberla::walberla2es (Vector3< double > const v)
 
Utils::Vector3d walberla::to_vector3d (Vector3< float > const &v)
 
Utils::Vector3d walberla::to_vector3d (Vector3< double > const &v)
 
template<typename FloatType >
Vector3< FloatType > walberla::to_vector3 (Utils::Vector3d const &v)
 
Utils::VectorXd< 9 > walberla::to_vector9d (Matrix3< double > const &m)
 
Utils::VectorXd< 9 > walberla::to_vector9d (Matrix3< float > const &m)
 
template<typename Function >
void walberla::interpolate_bspline_at_pos (Utils::Vector3d const &pos, Function const &f)