v0.9.2
practicle_velocity.cpp
Go to the documentation of this file.
1
2
3
4 PetscBool practicle_velocity = PETSC_FALSE;
5 ierr = PetscOptionsGetBool(PETSC_NULL,"-practicle_velocity",&practicle_velocity,NULL); CHKERRQ(ierr);
6
7
9 //Particle Velocity field, do not confused with speed of sound.
12 }
13
14
16 //Particle Velocity field, do not confused with speed of sound.
19 }
20
21
22
24 //Particle Velocity field, do not confused with speed of sound.
25 ierr = m_field.set_field_order(root_set,MBTET,"reVEL",order); CHKERRQ(ierr);
26 ierr = m_field.set_field_order(root_set,MBTRI,"reVEL",order); CHKERRQ(ierr);
27 ierr = m_field.set_field_order(root_set,MBEDGE,"reVEL",order); CHKERRQ(ierr);
28 ierr = m_field.set_field_order(root_set,MBVERTEX,"reVEL",1); CHKERRQ(ierr);
29 ierr = m_field.set_field_order(root_set,MBTET,"imVEL",order); CHKERRQ(ierr);
30 ierr = m_field.set_field_order(root_set,MBTRI,"imVEL",order); CHKERRQ(ierr);
31 ierr = m_field.set_field_order(root_set,MBEDGE,"imVEL",order); CHKERRQ(ierr);
32 ierr = m_field.set_field_order(root_set,MBVERTEX,"imVEL",1); CHKERRQ(ierr);
33 }
PetscBool practicle_velocity
CHKERRQ(ierr)
Ainsworth Cole (Legendre) approx. base .
Definition: definitions.h:152
constexpr int order
continuous field
Definition: definitions.h:177
PetscErrorCode PetscOptionsGetBool(PetscOptions *, const char pre[], const char name[], PetscBool *bval, PetscBool *set)