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

#include <connection.hpp>

Inheritance diagram for hexed::Typed_bound_connection< element_t >:
hexed::Boundary_connection hexed::Boundary_face hexed::Face_connection< Deformed_element > hexed::Kernel_connection hexed::Connection

Public Member Functions

 Typed_bound_connection (element_t &elem_arg, int i_dim_arg, bool inside_face_sign_arg, int bc_serial_n)
 
 Typed_bound_connection (const Typed_bound_connection &)=delete
 can only have one Typed_bound_connection per face, so delete copy semantics
 
Typed_bound_connectionoperator= (const Typed_bound_connection &)=delete
 
Storage_params storage_params () override
 
double * ghost_face (bool is_ldg) override
 
double * inside_face (bool is_ldg) override
 
int i_dim () override
 
bool inside_face_sign () override
 
double * surface_normal () override
 
double * surface_position () override
 
double * state_cache () override
 can be used to record the state for state-dependent flux boundary conditions
 
double * flux_cache () override
 is used to record the flux for surface visualization/integrals
 
Con_dir< Deformed_elementdirection () override
 
Connection_direction get_direction () override
 
int bound_cond_serial_n () override
 
element_t & element () override
 
int mask (int i_side) override
 whether the element on side i_side is included in mesh masking
 
- Public Member Functions inherited from hexed::Boundary_connection
 Boundary_connection (Storage_params params)
 
- Public Member Functions inherited from hexed::Face_connection< Deformed_element >
 Face_connection (Storage_params params)
 
double * state (int i_side, bool is_ldg) override
 state data for one side and for either the extrapolated state or the LDG storage
 
double * normal (int i_side)
 
double * normal () override
 area-weighted face normal vector. layout: [i_dim][i_face_qpoint]
 
- Public Member Functions inherited from hexed::Kernel_connection
int mask ()
 

Detailed Description

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

Implementation of Boundary_connection which also can provide a reference to the element involved (for Jacobian calculation among other purposes).

Member Function Documentation

◆ bound_cond_serial_n()

template<typename element_t >
int hexed::Typed_bound_connection< element_t >::bound_cond_serial_n ( )
inlineoverridevirtual

◆ direction()

template<typename element_t >
Con_dir< Deformed_element > hexed::Typed_bound_connection< element_t >::direction ( )
inlineoverridevirtual

◆ element()

template<typename element_t >
element_t & hexed::Typed_bound_connection< element_t >::element ( )
inlineoverridevirtual

◆ flux_cache()

template<typename element_t >
double * hexed::Typed_bound_connection< element_t >::flux_cache ( )
inlineoverridevirtual

is used to record the flux for surface visualization/integrals

Implements hexed::Boundary_face.

◆ get_direction()

template<typename element_t >
Connection_direction hexed::Typed_bound_connection< element_t >::get_direction ( )
inlineoverridevirtual

Implements hexed::Connection.

◆ ghost_face()

template<typename element_t >
double * hexed::Typed_bound_connection< element_t >::ghost_face ( bool is_ldg)
inlineoverridevirtual

Implements hexed::Boundary_face.

◆ i_dim()

template<typename element_t >
int hexed::Typed_bound_connection< element_t >::i_dim ( )
inlineoverridevirtual

Implements hexed::Boundary_face.

◆ inside_face()

template<typename element_t >
double * hexed::Typed_bound_connection< element_t >::inside_face ( bool is_ldg)
inlineoverridevirtual

Implements hexed::Boundary_face.

◆ inside_face_sign()

template<typename element_t >
bool hexed::Typed_bound_connection< element_t >::inside_face_sign ( )
inlineoverridevirtual

Implements hexed::Boundary_face.

◆ mask()

template<typename element_t >
int hexed::Typed_bound_connection< element_t >::mask ( int i_side)
inlineoverridevirtual

whether the element on side i_side is included in mesh masking

Implements hexed::Kernel_connection.

◆ state_cache()

template<typename element_t >
double * hexed::Typed_bound_connection< element_t >::state_cache ( )
inlineoverridevirtual

can be used to record the state for state-dependent flux boundary conditions

Implements hexed::Boundary_face.

◆ storage_params()

template<typename element_t >
Storage_params hexed::Typed_bound_connection< element_t >::storage_params ( )
inlineoverridevirtual

Implements hexed::Boundary_face.

◆ surface_normal()

template<typename element_t >
double * hexed::Typed_bound_connection< element_t >::surface_normal ( )
inlineoverridevirtual
Note
has to have a name that's different from Face_connection

Implements hexed::Boundary_face.

◆ surface_position()

template<typename element_t >
double * hexed::Typed_bound_connection< element_t >::surface_position ( )
inlineoverridevirtual

Implements hexed::Boundary_face.


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