chombo-discharge
Loading...
Searching...
No Matches
Namespaces | Functions
CD_MirrorDepositionImplem.H File Reference

Implementation of CD_MirrorDeposition.H. More...

#include <cmath>
#include <CD_MirrorDeposition.H>
#include <CD_NamespaceHeader.H>
#include <CD_NamespaceFooter.H>
Include dependency graph for CD_MirrorDepositionImplem.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MirrorDeposition
 Geometry for mirrored cut-cell deposition, i.e. the even extension of the density about an embedded boundary.
 

Functions

int MirrorDeposition::shapeIndex (const int a_i, const int a_j) noexcept
 Index into the stored upper triangle of a symmetric SpaceDim x SpaceDim tensor.
 
void MirrorDeposition::liftShapeOperator (const RealVect(&a_tangents)[numTangents], const Real(&a_S)[numTangents][numTangents], Real(&a_shape)[numShapeComp]) noexcept
 Lift a shape operator from the tangent frame into world coordinates.
 
Real MirrorDeposition::shapeEntry (const Real *a_shape, const int a_i, const int a_j) noexcept
 Read one entry of a world-frame shape operator stored as an upper triangle.
 
RealVect MirrorDeposition::applyShapeOperator (const Real *a_shape, const RealVect &a_vec) noexcept
 Apply a world-frame shape operator to a vector.
 
Real MirrorDeposition::meanCurvatureTimesTwo (const Real *a_shape) noexcept
 Twice the mean curvature, i.e. the first invariant of the shape operator.
 
Real MirrorDeposition::gaussianCurvature (const Real *a_shape) noexcept
 Gaussian curvature, i.e. the second invariant of the shape operator.
 
Real MirrorDeposition::jacobian (const Real a_twoH, const Real a_K, const Real a_d, Real &a_denominator) noexcept
 The exact area/volume Jacobian of the reflection across a curved surface.
 
bool MirrorDeposition::reflect (const RealVect &a_pos, const Real *a_surfaceData, const Real a_maxJacobian, const Real a_minDenominator, RealVect &a_image, Real &a_jacobian, Real &a_signedDistance, Refusal &a_refusal) noexcept
 Reflect a position across the quadratic surface patch stored for its cell, and weight the image.
 

Detailed Description

Implementation of CD_MirrorDeposition.H.

Author
Robert Marskar