|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.ext.security.test.jacobi.SubMatrix
public class SubMatrix
Field Summary | |
---|---|
static int |
DEFAULT_HEIGHT
Default height value of a submatrix |
static int |
DEFAULT_WIDTH
Default width value of a submatrix |
Constructor Summary | |
---|---|
SubMatrix()
Empty constructor |
|
SubMatrix(int x,
int y)
Constructor |
|
SubMatrix(java.lang.String name)
|
Method Summary | |
---|---|
void |
borderCompute()
Builds the border part of the new submatrix that require the communications with other submatrix are done. |
void |
buildNeighborhood_MethodBarrier()
METHODBARRIER |
void |
buildNeighborhood_NeighborBarrier()
NEIGHBORBARRIER |
void |
buildNeighborhood_TotalBarrier()
BTOTAL BARRIER |
void |
compute()
Launch the calculus |
void |
exchange()
Exchange the old values with the new |
double |
get(int x,
int y)
Returns the value at the specified position |
void |
internalCompute()
Builds the central part of the new submatrix that does not require communication with other submatrix |
void |
loop_MethodBarrier()
Loop METHODBARRIER |
void |
loop_NeighborBarrier()
Loop NEIGHBORBARRIER |
void |
loop_TotalBarrier()
Loop TOTAL BARRIER |
void |
sendBordersToNeighbors()
Sends the border values to the corresponding neighbors |
void |
setEastBorder(double[] border)
Set the east border |
void |
setNorthBorder(double[] border)
Set the north border |
void |
setSouthBorder(double[] border)
Set the south border |
void |
setWestBorder(double[] border)
Set the west border |
void |
stop()
Stops the submatrix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
Constructor Detail |
---|
public SubMatrix()
public SubMatrix(java.lang.String name)
public SubMatrix(int x, int y)
x
- the width of the submatrixy
- the height of the matrixMethod Detail |
---|
public double get(int x, int y)
x
- the column of the valuey
- the line of the value
public void internalCompute()
public void borderCompute()
public void exchange()
public void buildNeighborhood_MethodBarrier()
public void buildNeighborhood_NeighborBarrier()
public void buildNeighborhood_TotalBarrier()
public void sendBordersToNeighbors()
public void setNorthBorder(double[] border)
border
- - the north borderpublic void setSouthBorder(double[] border)
border
- - the south borderpublic void setWestBorder(double[] border)
border
- - the west borderpublic void setEastBorder(double[] border)
border
- - the east borderpublic void compute()
public void loop_MethodBarrier()
public void loop_NeighborBarrier()
public void loop_TotalBarrier()
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |