DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Geom::Periodicity Struct Reference

#include <PeriodicInfo.hpp>

Inheritance diagram for DNDS::Geom::Periodicity:
[legend]
Collaboration diagram for DNDS::Geom::Periodicity:
[legend]

Public Member Functions

DNDS_DEVICE_CALLABLE Periodicity ()
 
DNDS_HOST void WriteSerializer (Serializer::SerializerBaseSSP serializerP, const std::string &name)
 
DNDS_HOST void ReadSerializer (Serializer::SerializerBaseSSP serializerP, const std::string &name)
 
DNDS_DEVICE_CALLABLE tPoint TransCoord (const tPoint &c, t_index id) const
 
DNDS_DEVICE_CALLABLE tPoint TransCoordBack (const tPoint &c, t_index id) const
 
template<int dim, int nVec>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, nVec > TransVector (const Eigen::Matrix< real, dim, nVec > &v, t_index id)
 
template<int dim, int nVec>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, nVec > TransVectorBack (const Eigen::Matrix< real, dim, nVec > &v, t_index id)
 
template<int dim>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, dim > TransMat (const Eigen::Matrix< real, dim, dim > &m, t_index id)
 
template<int dim>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, dim > TransMatBack (const Eigen::Matrix< real, dim, dim > &m, t_index id)
 
DNDS_DEVICE_CALLABLE tPoint GetCoordByBits (const tPoint &c, const NodePeriodicBits &bits) const
 
template<int dim, int nVec>
DNDS_DEVICE_CALLABLE auto GetVectorByBits (const Eigen::Matrix< real, dim, nVec > &v, const NodePeriodicBits &bits)
 
DNDS_DEVICE_CALLABLE tPoint GetCoordBackByBits (const tPoint &c, const NodePeriodicBits &bits) const
 
template<int dim, int nVec>
DNDS_DEVICE_CALLABLE auto GetVectorBackByBits (const Eigen::Matrix< real, dim, nVec > &v, const NodePeriodicBits &bits)
 

Public Attributes

std::array< tGPointPortable, 4 > rotation
 
std::array< tPointPortable, 4 > translation
 
std::array< tPointPortable, 4 > rotationCenter
 

Detailed Description

Definition at line 176 of file PeriodicInfo.hpp.

Constructor & Destructor Documentation

◆ Periodicity()

DNDS_DEVICE_CALLABLE DNDS::Geom::Periodicity::Periodicity ( )
inline

Definition at line 182 of file PeriodicInfo.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ GetCoordBackByBits()

DNDS_DEVICE_CALLABLE tPoint DNDS::Geom::Periodicity::GetCoordBackByBits ( const tPoint c,
const NodePeriodicBits bits 
) const
inline

Definition at line 349 of file PeriodicInfo.hpp.

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

◆ GetCoordByBits()

DNDS_DEVICE_CALLABLE tPoint DNDS::Geom::Periodicity::GetCoordByBits ( const tPoint c,
const NodePeriodicBits bits 
) const
inline

Definition at line 320 of file PeriodicInfo.hpp.

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

◆ GetVectorBackByBits()

template<int dim, int nVec>
DNDS_DEVICE_CALLABLE auto DNDS::Geom::Periodicity::GetVectorBackByBits ( const Eigen::Matrix< real, dim, nVec > &  v,
const NodePeriodicBits bits 
)
inline

Definition at line 364 of file PeriodicInfo.hpp.

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

◆ GetVectorByBits()

template<int dim, int nVec>
DNDS_DEVICE_CALLABLE auto DNDS::Geom::Periodicity::GetVectorByBits ( const Eigen::Matrix< real, dim, nVec > &  v,
const NodePeriodicBits bits 
)
inline

Definition at line 335 of file PeriodicInfo.hpp.

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

◆ ReadSerializer()

DNDS_HOST void DNDS::Geom::Periodicity::ReadSerializer ( Serializer::SerializerBaseSSP  serializerP,
const std::string &  name 
)
inline

Definition at line 215 of file PeriodicInfo.hpp.

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

◆ TransCoord()

DNDS_DEVICE_CALLABLE tPoint DNDS::Geom::Periodicity::TransCoord ( const tPoint c,
t_index  id 
) const
inline

Definition at line 236 of file PeriodicInfo.hpp.

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

◆ TransCoordBack()

DNDS_DEVICE_CALLABLE tPoint DNDS::Geom::Periodicity::TransCoordBack ( const tPoint c,
t_index  id 
) const
inline

Definition at line 247 of file PeriodicInfo.hpp.

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

◆ TransMat()

template<int dim>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, dim > DNDS::Geom::Periodicity::TransMat ( const Eigen::Matrix< real, dim, dim > &  m,
t_index  id 
)
inline

Definition at line 291 of file PeriodicInfo.hpp.

Here is the call graph for this function:

◆ TransMatBack()

template<int dim>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, dim > DNDS::Geom::Periodicity::TransMatBack ( const Eigen::Matrix< real, dim, dim > &  m,
t_index  id 
)
inline

Definition at line 306 of file PeriodicInfo.hpp.

Here is the call graph for this function:

◆ TransVector()

template<int dim, int nVec>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, nVec > DNDS::Geom::Periodicity::TransVector ( const Eigen::Matrix< real, dim, nVec > &  v,
t_index  id 
)
inline
Todo:
//TODO: add support for cartesian tensor transformation

Definition at line 261 of file PeriodicInfo.hpp.

Here is the call graph for this function:

◆ TransVectorBack()

template<int dim, int nVec>
DNDS_DEVICE_CALLABLE Eigen::Matrix< real, dim, nVec > DNDS::Geom::Periodicity::TransVectorBack ( const Eigen::Matrix< real, dim, nVec > &  v,
t_index  id 
)
inline

Definition at line 276 of file PeriodicInfo.hpp.

Here is the call graph for this function:

◆ WriteSerializer()

DNDS_HOST void DNDS::Geom::Periodicity::WriteSerializer ( Serializer::SerializerBaseSSP  serializerP,
const std::string &  name 
)
inline

Definition at line 199 of file PeriodicInfo.hpp.

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

Member Data Documentation

◆ rotation

std::array<tGPointPortable, 4> DNDS::Geom::Periodicity::rotation

Definition at line 178 of file PeriodicInfo.hpp.

◆ rotationCenter

std::array<tPointPortable, 4> DNDS::Geom::Periodicity::rotationCenter

Definition at line 180 of file PeriodicInfo.hpp.

◆ translation

std::array<tPointPortable, 4> DNDS::Geom::Periodicity::translation

Definition at line 179 of file PeriodicInfo.hpp.


The documentation for this struct was generated from the following file: