bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
bitrl::utils::geom Namespace Reference

Namespaces

namespace  biblsimpp_geom_implementation
 

Classes

struct  Active
 
struct  ActiveOnProc
 
class  Circle
 The Circle class. Models a common circle. More...
 
class  ConstElementMeshIterator
 
class  ConstFaceMeshIterator
 The general template. More...
 
struct  edge2_type
 
struct  edge3_type
 
struct  edge4_type
 
struct  edge_type
 
struct  EdgeBuilder
 
class  EdgeElem
 
class  EdgeElem< 1 >
 
struct  EdgeSelector
 
struct  EdgeSelector< 1 >
 
struct  EdgeType
 
struct  EdgeType< dim, 0 >
 
struct  EdgeType< dim, 1 >
 
class  Element
 Wraps the notion of an element. More...
 
struct  element_traits
 
struct  element_traits< Element< 1 > >
 
struct  element_traits< Element< 2 > >
 
struct  element_traits< Element< 3 > >
 
struct  element_traits< FaceElement< 2, 1 > >
 FaceElement<2,1> is an Edge in 2D. Edges always have Node objects as their terminal edges and faces. More...
 
struct  element_traits< FaceElement< 3, 1 > >
 
struct  element_traits< FaceElement< 3, 2 > >
 
struct  ElementBuilder
 
class  ElementMeshIterator
 
struct  ElementType
 
struct  FaceBuilder
 
class  FaceElement
 
class  FaceElement< 2, 1 >
 
class  FaceElement< spacedim, 0 >
 
class  FaceMeshIterator
 The general template. More...
 
class  GenericLine
 class GenericLine. Represents a generic line with vertex VertexType The equation of a linein l=Ax + By + C More...
 
class  GeomPoint
 A class that describes a point with spacedim spatial dimension space. More...
 
struct  hex8_type
 
struct  hex_type
 
struct  IsVertex
 
class  Mesh
 A class that represents a mesh. More...
 
class  MeshConnectivity
 MeshConnectivity class stores the various connectivities for a mesh object. More...
 
class  MeshEntity
 Helper class that wraps non template dependent parameters and common to every mesh entity. More...
 
class  MeshTopology
 
class  Node
 Wraps the notion of a node. A node is simply a point in dim-space that can hold dofs. More...
 
struct  node_elem_type
 
struct  OnProc
 
class  Quad
 
struct  quad4_type
 
struct  quad8_type
 
struct  quad9_type
 
class  Quad< 2 >
 
struct  quad_type
 
struct  tet_type
 
struct  tri_type
 
struct  VertexActive
 
struct  VertexActiveBoundary
 
struct  VertexNode
 
struct  VertexNotNull
 

Functions

template<int spacedim, typename T >
std::ostream & operator<< (std::ostream &out, const GeomPoint< spacedim, T > &p)
 free functions that work on the GeomPoint<spacedim,T> class
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tscale (const GeomPoint< spacedim, T > &t, T factor)
 scale the given point by facto and returns a copyr. This function does not change the entries of t.
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tscale (const GeomPoint< spacedim, T > &t, const std::vector< T > &factors)
 scale the given point by the factors in vector
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Tabs (const GeomPoint< spacedim, T > &t)
 Return a point having the absolute values of the given point object.
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Toperator* (T factor, const GeomPoint< spacedim, T > &t)
 Allow multiplication from left with a factor.
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Toperator* (const GeomPoint< spacedim, T > &t, T factor)
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Toperator/ (const GeomPoint< spacedim, T > &t, T factor)
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Toperator+ (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)
 
template<int spacedim, typename T >
const GeomPoint< spacedim, Toperator- (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)
 
template<int spacedim, typename T >
bool operator== (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)
 
template<int spacedim, typename T >
bool operator!= (const GeomPoint< spacedim, T > &t1, const GeomPoint< spacedim, T > &t2)
 
std::ostream & operator<< (std::ostream &out, const MeshConnectivity &connectivity)
 
void build_quad_mesh (Mesh< 2 > &mesh, uint_t nx, uint_t ny, const GeomPoint< 2, real_t > &lower_point, const GeomPoint< 2, real_t > &upper_point)
 build a cartesian mesh with quad elements
 

Function Documentation

◆ abs()

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::abs ( const GeomPoint< spacedim, T > &  t)

Return a point having the absolute values of the given point object.

◆ build_quad_mesh()

void bitrl::utils::geom::build_quad_mesh ( Mesh< 2 > &  mesh,
uint_t  nx,
uint_t  ny,
const GeomPoint< 2, real_t > &  lower_point,
const GeomPoint< 2, real_t > &  upper_point 
)

build a cartesian mesh with quad elements

◆ operator!=()

template<int spacedim, typename T >
bool bitrl::utils::geom::operator!= ( const GeomPoint< spacedim, T > &  t1,
const GeomPoint< spacedim, T > &  t2 
)

◆ operator*() [1/2]

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::operator* ( const GeomPoint< spacedim, T > &  t,
T  factor 
)

◆ operator*() [2/2]

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::operator* ( T  factor,
const GeomPoint< spacedim, T > &  t 
)

Allow multiplication from left with a factor.

◆ operator+()

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::operator+ ( const GeomPoint< spacedim, T > &  t1,
const GeomPoint< spacedim, T > &  t2 
)

◆ operator-()

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::operator- ( const GeomPoint< spacedim, T > &  t1,
const GeomPoint< spacedim, T > &  t2 
)

◆ operator/()

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::operator/ ( const GeomPoint< spacedim, T > &  t,
T  factor 
)

◆ operator<<() [1/2]

template<int spacedim, typename T >
std::ostream & bitrl::utils::geom::operator<< ( std::ostream &  out,
const GeomPoint< spacedim, T > &  p 
)
inline

free functions that work on the GeomPoint<spacedim,T> class

Prints the values of the GeomPoint in the

◆ operator<<() [2/2]

std::ostream & bitrl::utils::geom::operator<< ( std::ostream &  out,
const MeshConnectivity connectivity 
)
inline

◆ operator==()

template<int spacedim, typename T >
bool bitrl::utils::geom::operator== ( const GeomPoint< spacedim, T > &  t1,
const GeomPoint< spacedim, T > &  t2 
)

◆ scale() [1/2]

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::scale ( const GeomPoint< spacedim, T > &  t,
const std::vector< T > &  factors 
)

scale the given point by the factors in vector

◆ scale() [2/2]

template<int spacedim, typename T >
const GeomPoint< spacedim, T > bitrl::utils::geom::scale ( const GeomPoint< spacedim, T > &  t,
T  factor 
)

scale the given point by facto and returns a copyr. This function does not change the entries of t.