~reducedmodelling/fluidity/ROM_Non-intrusive-ann

Viewing all changes in revision 3892.1.12.

  • Committer: Brendan Tollit
  • Date: 2012-01-20 15:54:44 UTC
  • mto: (3900.1.1 porosity)
  • mto: This revision was merged to the branch mainline in revision 3910.
  • Revision ID: brendan.tollit05@imperial.ac.uk-20120120155444-hzsbtlt6bgfob8u1
Change the way the CV mass matrix is found to use the hard coded 
sub cv element volume fraction * the element volume.

This adds a routine in femtools/FEFields.F90 called compute_cv_mass
which is called from from the added routine get_cv_mass in 
femtools/State_Fields.F90

These two routines are then called from all the places I could 
see that wanted a cv mass matrix. Then where these calls happen variables
that are called something like lumped_mass are changed to cv_mass.

This needs carefully checking. The compute_cv_mass will work 
for all linear and quadatic line and triangle. For tet the 
subcv fraction values need entering.

All cv test cases test this.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: