Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Member Functions | List of all members
serac::detail::ShapeCorrection< dim, shape_type > Struct Template Reference

A helper struct that contains the appropriate parent-to-physical and physical-to-parent transformations for an applied shape field. More...

#include <shape_aware_functional.hpp>

Public Member Functions

 ShapeCorrection (Dimension< dim >, shape_type p)
 Construct a new Shape Correction object with the appropriate transformations for a shape field. More...
 
template<typename trial_type , typename space_type >
SERAC_HOST_DEVICE auto modify_trial_argument (space_type, const trial_type &u) const
 Modify the trial argument using the correct physical to reference to shape-adjusted transformation for the underlying trial function space. More...
 
template<typename test_space , typename q_func_type >
SERAC_HOST_DEVICE auto modify_shape_aware_qf_return (test_space, const q_func_type &v)
 Modify the quadrature function return value using the correct shape-adjusted to reference transformation for the underlying test function space. More...
 

Detailed Description

template<int dim, typename shape_type>
struct serac::detail::ShapeCorrection< dim, shape_type >

A helper struct that contains the appropriate parent-to-physical and physical-to-parent transformations for an applied shape field.

Template Parameters
dimThe dimension of the input position
shape_typeThe type of the shape field (may be dual)

Definition at line 37 of file shape_aware_functional.hpp.

Constructor & Destructor Documentation

◆ ShapeCorrection()

template<int dim, typename shape_type >
serac::detail::ShapeCorrection< dim, shape_type >::ShapeCorrection ( Dimension< dim >  ,
shape_type  p 
)
inline

Construct a new Shape Correction object with the appropriate transformations for a shape field.

Parameters
pThe current shape displacement field at the underlying quadrature point

Definition at line 44 of file shape_aware_functional.hpp.

Member Function Documentation

◆ modify_shape_aware_qf_return()

template<int dim, typename shape_type >
template<typename test_space , typename q_func_type >
SERAC_HOST_DEVICE auto serac::detail::ShapeCorrection< dim, shape_type >::modify_shape_aware_qf_return ( test_space  ,
const q_func_type &  v 
)
inline

Modify the quadrature function return value using the correct shape-adjusted to reference transformation for the underlying test function space.

Template Parameters
test_spaceThe test function finite element space (e.g. H1, L2, double)
q_func_typeThe type of the unmodified qfunction return
Parameters
vThe unmodified q function return in shape-adjusted coordinates
Returns
The modified return after applying the appropriate shape-adjusted to reference transformation

Definition at line 98 of file shape_aware_functional.hpp.

◆ modify_trial_argument()

template<int dim, typename shape_type >
template<typename trial_type , typename space_type >
SERAC_HOST_DEVICE auto serac::detail::ShapeCorrection< dim, shape_type >::modify_trial_argument ( space_type  ,
const trial_type &  u 
) const
inline

Modify the trial argument using the correct physical to reference to shape-adjusted transformation for the underlying trial function space.

Template Parameters
trial_typeThe trial function type (may be dual)
space_typeThe trial function finite element space (e.g. H1, L2, Hcurl
Parameters
uThe input trial function at a quadrature point
Returns
The modified trial function adjusted for the underlying shape displacement field

Definition at line 61 of file shape_aware_functional.hpp.


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