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/DMLABEL/PetscSectionSymLabelSetStratum.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscSectionSymLabelSetStratum</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/DMLABEL/PetscSectionSymLabelSetStratum.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscSectionSymLabelSetStratum"><H1>PetscSectionSymLabelSetStratum</H1></A>
set the symmetries for the orientations of a stratum
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscdmlabel.h"
#include "petscsection.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../DMLABEL/PetscSectionSymLabelSetStratum.html#PetscSectionSymLabelSetStratum">PetscSectionSymLabelSetStratum</A>(<A HREF="../PetscSection/PetscSectionSym.html#PetscSectionSym">PetscSectionSym</A> sym, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> stratum, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> size, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> minOrient, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> maxOrient, <A HREF="../Sys/PetscCopyMode.html#PetscCopyMode">PetscCopyMode</A> mode, const <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> **perms, const <A HREF="../Sys/PetscScalar.html#PetscScalar">PetscScalar</A> **rots)
</PRE>
Logically collective on sym
<P>
<H3><FONT COLOR="#CC3333">InputParameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>sym </B></TD><TD>- the section symmetries
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>stratum </B></TD><TD>- the stratum value in the label that we are assigning symmetries for
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>size </B></TD><TD>- the number of dofs for points in the stratum of the label
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>minOrient </B></TD><TD>- the smallest orientation for a point in this stratum
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>maxOrient </B></TD><TD>- one greater than the largest orientation for a ppoint in this stratum (i.e., orientations are in the range [minOrient, maxOrient))
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>mode </B></TD><TD>- how sym should copy the perms and rots arrays
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>perms </B></TD><TD>- NULL if there are no permutations, or (maxOrient - minOrient) permutations, one for each orientation. A NULL permutation is the identity
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>rots </B></TD><TD>- NULL if there are no rotations, or (maxOrient - minOrient) sets of rotations, one for each orientation. A NULL set of orientations is the identity
</TD></TR></TABLE>
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../PetscSection/PetscSectionSymCreate.html#PetscSectionSymCreate">PetscSectionSymCreate</A>(), <A HREF="../PetscSection/PetscSectionSetSym.html#PetscSectionSetSym">PetscSectionSetSym</A>(), <A HREF="../PetscSection/PetscSectionGetPointSyms.html#PetscSectionGetPointSyms">PetscSectionGetPointSyms</A>(), <A HREF="../DMLABEL/PetscSectionSymCreateLabel.html#PetscSectionSymCreateLabel">PetscSectionSymCreateLabel</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>developer<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/dm/label/dmlabel.c.html#PetscSectionSymLabelSetStratum">src/dm/label/dmlabel.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/dm/impls/plex/tutorials/ex6.c.html">src/dm/impls/plex/tutorials/ex6.c.html</A><BR>
<BR><A HREF="./index.html">Index of all DMLABEL 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>
|