slepc-3.7.3 2016-09-29
Report Typos and Errors

# FNDuplicate

Duplicates a math function, copying all parameters, possibly with a different communicator.

### Synopsis

    #include "slepcfn.h"
    PetscErrorCode FNDuplicate(FN fn,MPI_Comm comm,FN *newfn)

Collective on FN

### Input Parameters

| fn | - the math function context
| comm | - MPI communicator

### Output Parameter

| newfn | - location to put the new FN context

### Note

In order to use the same MPI communicator as in the original object, use PetscObjectComm((PetscObject)fn).

### See Also

FNCreate()

Location: src/sys/classes/fn/interface/fnbasic.c
Index of all FN routines
Table of Contents for all manual pages
Index of all manual pages