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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PetscSection/PetscSectionGetClosurePermutation.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscSectionGetClosurePermutation</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/PetscSection/PetscSectionGetClosurePermutation.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscSectionGetClosurePermutation"><H1>PetscSectionGetClosurePermutation</H1></A>
Get the dof permutation for the closure of each cell in the section, meaning clPerm[newIndex] = oldIndex.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscsection.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../PetscSection/PetscSectionGetClosurePermutation.html#PetscSectionGetClosurePermutation">PetscSectionGetClosurePermutation</A>(<A HREF="../PetscSection/PetscSection.html#PetscSection">PetscSection</A> section, <A HREF="../Sys/PetscObject.html#PetscObject">PetscObject</A> obj, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> depth, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> clSize, <A HREF="../IS/IS.html#IS">IS</A> *perm)
</PRE>
Not collective
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>section </B></TD><TD>- The <A HREF="../PetscSection/PetscSection.html#PetscSection">PetscSection</A>
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>obj </B></TD><TD>- A <A HREF="../Sys/PetscObject.html#PetscObject">PetscObject</A> which serves as the key for this index (usually a <A HREF="../DM/DM.html#DM">DM</A>)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>depth </B></TD><TD>- Depth stratum on which to obtain closure permutation
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>clSize </B></TD><TD>- Closure size to be permuted (e.g., may vary with element topology and degree)
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>perm </B></TD><TD>- The dof closure permutation
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Note</FONT></H3>
The user must destroy the <A HREF="../IS/IS.html#IS">IS</A> that is returned.
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../PetscSection/PetscSectionSetClosurePermutation.html#PetscSectionSetClosurePermutation">PetscSectionSetClosurePermutation</A>(), <A HREF="../PetscSection/PetscSectionGetClosureInversePermutation.html#PetscSectionGetClosureInversePermutation">PetscSectionGetClosureInversePermutation</A>(), <A HREF="../PetscSection/PetscSectionGetClosureIndex.html#PetscSectionGetClosureIndex">PetscSectionGetClosureIndex</A>(), <A HREF="../PetscSection/PetscSectionSetClosureIndex.html#PetscSectionSetClosureIndex">PetscSectionSetClosureIndex</A>(), <A HREF="../DMPLEX/DMPlexCreateClosureIndex.html#DMPlexCreateClosureIndex">DMPlexCreateClosureIndex</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/vec/is/section/interface/section.c.html#PetscSectionGetClosurePermutation">src/vec/is/section/interface/section.c</A>
<BR><A HREF="./index.html">Index of all PetscSection 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>
|