OCTSpatialCurrWeight

A - B - C - D - E - F - G - H - I - K - L - M - N - O - P - Q - R - S - T - U - V - W - X

OCTSpatialCurrWeight

Section Calculation Modes::Optimal Control
Type block

Can be seen as a position-dependent OCTCurrentWeight. Consequently, it weights contribution of current jj to its functional J1c[j]J1_c[j] according to the position in space. For example, oct_curr_square thus becomes J1c[j]=OCTCurrentWeightj(r)2OCTSpatialCurrWeight(r)drJ1_c[j] = {\tt OCTCurrentWeight} \int{\left| j(r) \right|^2 {\tt OCTSpatialCurrWeight}(r) dr}.

It is defined as OCTSpatialCurrWeight(r)=g(x)g(y)g(z)(r) = g(x) g(y) g(z), where g(x)=i1/(1+efact(xstartpointi))1/(1+efact(xendpointi))g(x) = \sum_{i} 1/(1+e^{-{\tt fact} (x-{\tt startpoint}_i)}) - 1/(1+e^{-{\tt fact} (x-{\tt endpoint}_i)}). If not specified, g(x)=1g(x) = 1.

Each g(x)g(x) is represented by one line of the block that has the following form

%OCTSpatialCurrWeight
   dimension | fact | startpoint_1 | endpoint_1 | startpoint_2 | endpoint_2 |…
%

There are no restrictions on the number of lines, nor on the number of pairs of start- and endpoints. Attention: startpoint and endpoint have to be supplied pairwise with startpoint < endpoint. dimension > 0 is integer, fact is float.


Source information