HRZ Lumping Nodal Mass

Asked by Jiadun Liu

Hi All,

How to get the Nodal Mass when HRZ Lumping scheme is used?

Thank you very much.

Best regards,
Jiadun

Question information

Language:
English Edit question
Status:
Solved
For:
esys-escript Edit question
Assignee:
No assignee Edit question
Solved by:
Lutz Gross
Solved:
Last query:
Last reply:
Revision history for this message
Best Lutz Gross (l-gross) said :
#1

pde=SingleLinearPDE(domain)
pde.setValue(D=1)
pde.getSolverOptions().setSolverMethod(SolverOptions.HRZ_LUMPING)
m=pde.getOperator() # is a data object now

for i in xrange(m.getNumDataPoints()):
          nodalmass = m.getValueOfDataPointAsTuple(i)

Revision history for this message
Jiadun Liu (liujiadun) said :
#2

Thanks Lutz Gross, that solved my question.