mkICcopy2 - Specify initial conditions for mixed formulations

Calling sequence:

mkICcopy2(ICeq, unknown_list, params_list, unkntestlist,testbsflist);

Parameters:

ICeq - A list of equations specifying initial conditions. Each entry in the list is an equation of the form u(x,y)=expr, where u(x,y) is a variable in unknown_list. Those variables in unknown_list which do not appear on the left hand side of an equation in ICeq, are set to zero initially.

unknown_list - The list of unknowns as discussed above.

params_list - A list of scalar input parameters.

unkntestlist - A list of testfunction names that couple a certain testfunction with a certain unknown. The number of entries in unkntestlist must be the same as in unknown_list and old_unknown_list. The usage is the same as for the corresponding argument to mkFem2.

testbsflist - A list containing three entries, the first two being names of testfunctions, the last the name of a file that contins the definitions of the basefunctions. The two basefunction names are identified with the actual basefunctions via ordering and the name of this file, i.e., with testbsflist:=[v(x,y),q(x,y),`2DP2P1_gsq_bsf`], v(x,y) is P2 and q(x,y) is P1. The usage is the same as for the corresponding argument to mkFem2.

Synopsis:

Examples:

> # make initial conditions. ic_eq is on the form 'unknown = expr':
> # variables that do not enter in lhs of an ic_eq are given the
# intial value 0:
> mkICcopy2([ v(x,y)=x*x+y*y ], unknown_list, params_list
, unkntestlist, testbsflist);

ic_init