Skip to content

Filter fields in .udf file #414

Answered by stgeke
aiskhak asked this question in Q&A
Discussion options

You must be logged in to vote

You can average the interface values using:

  platform->linAlg->axmyVector(
  meshV->Nlocal,
  nrs->fieldOffset,
  0,
  1.0,
  meshV->o_LMM,
  o_fld);

oogs::startFinish(o_fld, /* number of fields */ 1, nrs->fieldOffset, ogsDfloat, ogsAdd, nrs->gsh);

platform->linAlg->axmyVector(
  meshV->Nlocal,
  nrs->fieldOffset,
  0,
  1.0,
  meshV->o_invLMM,
  o_fld);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aiskhak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants