FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Geometry::RawTemplate< Shape_ > Struct Template Reference

Public Types

using EntityType = RawEntity< Shape_ >
 
using VertexType = typename EntityType::VertexType
 

Public Member Functions

RawTemplateadd_entity (const std::array< VertexType, Shape::FaceTraits< Shape_, 0 >::count > &vertices)
 
template<typename... Vector>
RawTemplateadd_entity (Vector... vectors)
 
RawTemplateaxis_aligned (const VertexType &a, const VertexType &b)
 
RawTemplategrid (std::array< Index, Shape_::dimension > size, VertexType stepsize)
 
RawTemplaterecurse (Index face, const RawTemplate &tmplt)
 Recursively applies a template to a face of this template. More...
 

Public Attributes

std::vector< RawEntity< Shape_ > > entities
 

Private Member Functions

void _grid (const std::array< Index, Shape_::dimension > &size, VertexType stepsize, int dim, std::array< Index, Shape_::dimension > &coords)
 

Detailed Description

template<typename Shape_>
struct FEAT::Geometry::RawTemplate< Shape_ >

Definition at line 65 of file raw_refinement_templates.hpp.

Member Typedef Documentation

◆ EntityType

template<typename Shape_ >
using FEAT::Geometry::RawTemplate< Shape_ >::EntityType = RawEntity<Shape_>

Definition at line 67 of file raw_refinement_templates.hpp.

◆ VertexType

template<typename Shape_ >
using FEAT::Geometry::RawTemplate< Shape_ >::VertexType = typename EntityType::VertexType

Definition at line 69 of file raw_refinement_templates.hpp.

Member Function Documentation

◆ _grid()

template<typename Shape_ >
void FEAT::Geometry::RawTemplate< Shape_ >::_grid ( const std::array< Index, Shape_::dimension > &  size,
VertexType  stepsize,
int  dim,
std::array< Index, Shape_::dimension > &  coords 
)
inlineprivate

Definition at line 162 of file raw_refinement_templates.hpp.

◆ add_entity() [1/2]

template<typename Shape_ >
RawTemplate & FEAT::Geometry::RawTemplate< Shape_ >::add_entity ( const std::array< VertexType, Shape::FaceTraits< Shape_, 0 >::count > &  vertices)
inline

Definition at line 80 of file raw_refinement_templates.hpp.

◆ add_entity() [2/2]

template<typename Shape_ >
template<typename... Vector>
RawTemplate & FEAT::Geometry::RawTemplate< Shape_ >::add_entity ( Vector...  vectors)
inline

Definition at line 74 of file raw_refinement_templates.hpp.

◆ axis_aligned()

template<typename Shape_ >
RawTemplate & FEAT::Geometry::RawTemplate< Shape_ >::axis_aligned ( const VertexType &  a,
const VertexType &  b 
)
inline

Definition at line 89 of file raw_refinement_templates.hpp.

◆ grid()

template<typename Shape_ >
RawTemplate & FEAT::Geometry::RawTemplate< Shape_ >::grid ( std::array< Index, Shape_::dimension >  size,
VertexType  stepsize 
)
inline

Definition at line 128 of file raw_refinement_templates.hpp.

◆ recurse()

template<typename Shape_ >
RawTemplate & FEAT::Geometry::RawTemplate< Shape_ >::recurse ( Index  face,
const RawTemplate< Shape_ > &  tmplt 
)
inline

Recursively applies a template to a face of this template.

Uses linear interpolation to map all entities of the given template into the chosen face. The chosen face is removed from this template.

Definition at line 141 of file raw_refinement_templates.hpp.

Member Data Documentation

◆ entities

template<typename Shape_ >
std::vector<RawEntity<Shape_> > FEAT::Geometry::RawTemplate< Shape_ >::entities

Definition at line 71 of file raw_refinement_templates.hpp.


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