hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Refined_connection< element_t > Class Template Reference

#include <connection.hpp>

Classes

class  Fine_connection
 connection subclass to which will represent the connections for the numerical flux calculation More...
 

Public Member Functions

 Refined_connection (element_t *coarse, std::vector< element_t * > fine, Con_dir< element_t > con_dir, bool reverse_order=false, std::array< bool, 2 > stretch_arg={false, false})
 
 Refined_connection (const Refined_connection &)=delete
 delete copy semantics which would mess up Fine_connection. Can implement later if we really need it.
 
Refined_connectionoperator= (const Refined_connection &)=delete
 
Con_dir< element_t > direction ()
 
Fine_connectionconnection (int i_fine)
 fetch an object represting a connection between the face of a fine element and one of the mortar faces
 
bool order_reversed ()
 
auto stretch ()
 
int n_fine_elements ()
 
double * coarse_state ()
 
element_t & coarse_element ()
 

Public Attributes

Refined_face refined_face
 pretty please don't write to this!!
 
Hanging_vertex_matcher matcher
 

Detailed Description

template<typename element_t>
class hexed::Refined_connection< element_t >

Represents a connection between elements whose refinement levels differ by 1. This involves a Refined_face object to facilitate interpolating/projecting between the coarse face and the fine mortar faces, as well as connections between faces of the fine elements and the corresponding fine mortar faces where the actual numerical flux will be computed.

Constructor & Destructor Documentation

◆ Refined_connection()

template<typename element_t >
hexed::Refined_connection< element_t >::Refined_connection ( element_t * coarse,
std::vector< element_t * > fine,
Con_dir< element_t > con_dir,
bool reverse_order = false,
std::array< bool, 2 > stretch_arg = {false, false} )
inline

if reverse_order is true, the fine elements will come before coarse in the connection. Otherwise, coarse will come first. Assumes fine elements are in the natural row-major order that they would be listed in a context other than a connection.

Member Data Documentation

◆ refined_face

template<typename element_t >
Refined_face hexed::Refined_connection< element_t >::refined_face

pretty please don't write to this!!

Todo
this should be const and/or private, but i have bigger problems rn

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