1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DT/PetscQuadraturePushForward.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscQuadraturePushForward</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.14.5 2021-03-03</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.14.5 v3.14.5 docs/manualpages/DT/PetscQuadraturePushForward.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscQuadraturePushForward"><H1>PetscQuadraturePushForward</H1></A>
Push forward a quadrature functional under an affine transformation.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscdt.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../DT/PetscQuadraturePushForward.html#PetscQuadraturePushForward">PetscQuadraturePushForward</A>(<A HREF="../FE/PetscQuadrature.html#PetscQuadrature">PetscQuadrature</A> q, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> imageDim, const <A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> origin[], const <A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> originImage[], const <A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> J[], <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> formDegree, <A HREF="../FE/PetscQuadrature.html#PetscQuadrature">PetscQuadrature</A> *Jinvstarq)
</PRE>
Collecive on <A HREF="../FE/PetscQuadrature.html#PetscQuadrature">PetscQuadrature</A>
<P>
<H3><FONT COLOR="#CC3333">Input Arguments</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>q </B></TD><TD>- the quadrature functional
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>imageDim </B></TD><TD>- the dimension of the image of the transformation
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>origin </B></TD><TD>- a point in the original space
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>originImage </B></TD><TD>- the image of the origin under the transformation
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>J </B></TD><TD>- the Jacobian of the image: an [imageDim x dim] matrix in row major order
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>formDegree </B></TD><TD>- transform the quadrature weights as k-forms of this form degree (if the number of components is a multiple of (dim choose formDegree), it is assumed that they represent multiple k-forms) [see <A HREF="../DT/PetscDTAltVPullback.html#PetscDTAltVPullback">PetscDTAltVPullback</A>() for interpretation of formDegree]
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Output Arguments</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>Jinvstarq </B></TD><TD>- a quadrature rule where each point is the image of a point in the original quadrature rule, and where the k-form weights have been pulled-back by the pseudoinverse of J to the k-form weights in the image space.
</TD></TR></TABLE>
<P>
Note: the new quadrature rule will have a different number of components if spaces have different dimensions. For example, pushing a 2-form forward from a two dimensional space to a three dimensional space changes the number of components from 1 to 3.
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DT/PetscDTAltVPullback.html#PetscDTAltVPullback">PetscDTAltVPullback</A>(), <A HREF="../DT/PetscDTAltVPullbackMatrix.html#PetscDTAltVPullbackMatrix">PetscDTAltVPullbackMatrix</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>intermediate<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/dm/dt/interface/dt.c.html#PetscQuadraturePushForward">src/dm/dt/interface/dt.c</A>
<BR><A HREF="./index.html">Index of all DT routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|