Home
last modified time | relevance | path

Searched refs:Fe (Results 1 – 5 of 5) sorted by relevance

/petsc/src/ksp/ksp/tutorials/
H A Dex49.c481 static void FormMomentumRhsQ1(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScalar… in FormMomentumRhsQ1() argument
502 Fe[NSD * i] += fac * Ni_p[i] * fx[p]; in FormMomentumRhsQ1()
503 Fe[NSD * i + 1] += fac * Ni_p[i] * fy[p]; in FormMomentumRhsQ1()
644 PetscScalar Fe[NODES_PER_EL * U_DOFS]; in AssembleF_Elasticity() local
681 PetscCall(PetscMemzero(Fe, sizeof(Fe))); in AssembleF_Elasticity()
684 FormMomentumRhsQ1(Fe, el_coords, prop_fx, prop_fy); in AssembleF_Elasticity()
689 PetscCall(DMDASetValuesLocalStencil_ADD_VALUES(ff, u_eqn, Fe)); in AssembleF_Elasticity()
H A Dex42.c823 static void FormMomentumRhsQ13D(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScal… in FormMomentumRhsQ13D() argument
844 Fe[NSD * i] -= fac * Ni_p[i] * fx[p]; in FormMomentumRhsQ13D()
845 Fe[NSD * i + 1] -= fac * Ni_p[i] * fy[p]; in FormMomentumRhsQ13D()
846 Fe[NSD * i + 2] -= fac * Ni_p[i] * fz[p]; in FormMomentumRhsQ13D()
851 static void FormContinuityRhsQ13D(PetscScalar Fe[], PetscScalar coords[], PetscScalar hc[]) in FormContinuityRhsQ13D() argument
871 for (i = 0; i < NODES_PER_EL; i++) Fe[i] -= fac * Ni_p[i] * hc[p]; in FormContinuityRhsQ13D()
1076 PetscScalar Fe[NODES_PER_EL * U_DOFS]; in AssembleF_Stokes() local
1112 PetscCall(PetscMemzero(Fe, sizeof(Fe))); in AssembleF_Stokes()
1116 FormMomentumRhsQ13D(Fe, el_coords, prop_fx, prop_fy, prop_fz); in AssembleF_Stokes()
1123 if ((u_eqn[3 * n].i == 0) || (u_eqn[3 * n].i == M - 1)) Fe[3 * n] = 0.0; in AssembleF_Stokes()
[all …]
H A Dex70.c301 static void LForm_MomentumRHS(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScalar… in LForm_MomentumRHS() argument
319 Fe[NSD * i] = 0.0; in LForm_MomentumRHS()
320 Fe[NSD * i + 1] -= fac * Ni_p[i] * fy[p]; in LForm_MomentumRHS()
469 PetscScalar Fe[NODES_PER_EL * U_DOFS]; in AssembleStokes_RHS() local
502 PetscCall(PetscMemzero(Fe, sizeof(Fe))); in AssembleStokes_RHS()
506 LForm_MomentumRHS(Fe, el_coords, NULL, prop_fy); in AssembleStokes_RHS()
511 for (i = 0; i < NODES_PER_EL * U_DOFS; i++) LA_F[u_eqn[i]] += Fe[i]; in AssembleStokes_RHS()
H A Dex43.c661 static void FormMomentumRhsQ1(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScalar… in FormMomentumRhsQ1() argument
682 Fe[NSD * i] += fac * Ni_p[i] * fx[p]; in FormMomentumRhsQ1()
683 Fe[NSD * i + 1] += fac * Ni_p[i] * fy[p]; in FormMomentumRhsQ1()
863 PetscScalar Fe[NODES_PER_EL * U_DOFS]; in AssembleF_Stokes() local
901 PetscCall(PetscMemzero(Fe, sizeof(Fe))); in AssembleF_Stokes()
905 FormMomentumRhsQ1(Fe, el_coords, prop_fx, prop_fy); in AssembleF_Stokes()
910 PetscCall(DMDASetValuesLocalStencil_ADD_VALUES(ff, u_eqn, p_eqn, Fe, He)); in AssembleF_Stokes()
/petsc/doc/
H A Dpetsc.bib1594 title = {Numerical Micromagnetic Simulation of Fe-Pt Nanoparticles with Multiple Easy
36910 address = {Santa Fe}
39741 address = {Santa Fe, NM},