"Fossies" - the Fresh Open Source Software Archive

Member "petsc-3.12.4/docs/manualpages/Sys/PetscNewLog.html" (4 Feb 2020, 2367 Bytes) of package /linux/misc/petsc-3.12.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
    2 <HTML>
    3 <HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscNewLog.html" />
    4 <META NAME="GENERATOR" CONTENT="DOCTEXT">
    5 <TITLE>PetscNewLog</TITLE>
    6 </HEAD>
    7 <BODY BGCOLOR="FFFFFF">
    8    <div id="version" align=right><b>petsc-3.12.4 2020-02-04</b></div>
    9    <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.12.4 v3.12.4 docs/manualpages/Sys/PetscNewLog.html "><small>Report Typos and Errors</small></a></div>
   10 <A NAME="PetscNewLog"><H1>PetscNewLog</H1></A>
   11 Allocates memory of a type matching pointer, zeros the memory! Aligned to PETSC_MEMALIGN. Associates the memory allocated with the given object using <A HREF="../Profiling/PetscLogObjectMemory.html#PetscLogObjectMemory">PetscLogObjectMemory</A>(). 
   12 <H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
   13 <PRE>
   14 #include &lt;petscsys.h&gt;
   15 <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../Sys/PetscNewLog.html#PetscNewLog">PetscNewLog</A>(<A HREF="../Sys/PetscObject.html#PetscObject">PetscObject</A> obj,type **result)
   16 </PRE>
   17 Not Collective
   18 <P>
   19 <H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
   20 <DT><B>obj </B> -object memory is logged to
   21 <br>
   22 <P>
   23 <H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
   24 <DT><B>result </B> -memory allocated, sized to match pointer type
   25 <br>
   26 <P>
   27 
   28 <P>
   29 <H3><FONT COLOR="#CC3333">See Also</FONT></H3>
   30  <A HREF="../Sys/PetscFree.html#PetscFree">PetscFree</A>(), <A HREF="../Sys/PetscMalloc.html#PetscMalloc">PetscMalloc</A>(), <A HREF="../Sys/PetscNew.html#PetscNew">PetscNew</A>(), <A HREF="../Profiling/PetscLogObjectMemory.html#PetscLogObjectMemory">PetscLogObjectMemory</A>(), <A HREF="../Sys/PetscCalloc1.html#PetscCalloc1">PetscCalloc1</A>(), <A HREF="../Sys/PetscMalloc1.html#PetscMalloc1">PetscMalloc1</A>()
   31 <BR>
   32 <P>
   33 <P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>developer<BR>
   34 <H3><FONT COLOR="#CC3333">Location</FONT></H3>
   35 </B><A HREF="../../../include/petscsys.h.html#PetscNewLog">include/petscsys.h</A>
   36 <BR><A HREF="./index.html">Index of all Sys routines</A>
   37 <BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
   38 <BR><A HREF="../singleindex.html">Index of all manual pages</A>
   39 </BODY></HTML>