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

Go to the source code of this file.

Typedefs

using id = initmumps

Functions

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

Variables

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')

Typedef Documentation

◆ id

call to mumps id = initmumps

Definition at line 4 of file multiplerhs_example.m.

Function Documentation

◆ norm()

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

◆ RHS()

id RHS ( : ,
2  )

Variable Documentation

◆ disp

disp ( 'SOLUTION OK' )

Definition at line 18 of file multiplerhs_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 multiplerhs_example.m.

◆ lhr01

load lhr01

Definition at line 6 of file multiplerhs_example.m.

◆ mat

mat = Problem.A

Definition at line 7 of file multiplerhs_example.m.

◆ RHS

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

Definition at line 11 of file multiplerhs_example.m.