TSSetRhsBC

Sets the function which applies boundary conditions to the Rhs of each system.

Synopsis

#include "petscts.h"  
int TSSetRhsBC(TS ts, int (*func)(TS, Vec, void *))
Collective on TS

Input Parameters

ts - The TS context obtained from TSCreate()
func - The function

Calling sequence of func

func (TS ts, Vec rhs, void *ctx); - + rhs - The current rhs vector
ctx -The user-context

Keywords

TS, Rhs, boundary conditions

Level:intermediate
Location:
src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages