OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
sparserhs_example.m File Reference

Go to the source code of this file.

Functions

id RHS (:, 2)
end norm (mat *id.SOL - id.RHS, 'inf') % solution OK % destroy mumps instance id.JOB

Variables

 id = dmumps(id)
load lhr01
 mat = Problem.A
 JOB
we set the rigth hand side id RHS = ones(size(mat,1),2)
if(norm(mat *id.SOL - id.RHS, 'inf') > sqrt(eps)) disp('WARNING els disp )('SOLUTION OK')

Function Documentation

◆ norm()

end norm ( mat *id.SOL - id. RHS,
'inf'  )

◆ RHS()

id RHS ( : ,
2  )

Variable Documentation

◆ disp

if(norm(mat *id.SOL - id.RHS, 'inf') > sqrt(eps)) disp( 'WARNING els disp) ( 'SOLUTION OK') ( 'SOLUTION OK' )

Definition at line 19 of file sparserhs_example.m.

◆ id

call to mumps id = dmumps(id)

Definition at line 5 of file sparserhs_example.m.

◆ JOB

JOB
Initial value:
= 6 means analysis+facto+solve
id.JOB = 6
initmumps id
#define JOB
Definition mumpsmex.c:33

Definition at line 8 of file sparserhs_example.m.

◆ lhr01

load lhr01

Definition at line 6 of file sparserhs_example.m.

◆ mat

mat = Problem.A

Definition at line 7 of file sparserhs_example.m.

◆ RHS

id RHS = ones(size(mat,1),2)

Definition at line 11 of file sparserhs_example.m.