1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
zavuch27 [327]
3 years ago
5

A good letter of recommendation:

SAT
1 answer:
Sindrei [870]3 years ago
8 0

A good letter of recommendation would provide personal insight to the student. Option C.

You might be interested in
As a student have you ever encountered any of these barriers
IrinaK [193]

I'm not sure which barriers??.

8 0
2 years ago
Lammps ERROR on proc 0: Out of range atoms - cannot compute PPPM
Alexeev081 [22]

Using the knowledge in computational language in C++ it is possible to write a code that Out of range atoms:

<h3>Writting the code in C++:</h3>

<em>#include <cmath></em>

<em>#include "pppm_tip4p.h"</em>

<em>#include "atom.h"</em>

<em>#include "domain.h"</em>

<em>#include "force.h"</em>

<em>#include "memory.h"</em>

<em>#include "error.h"</em>

<em>#include "math_const.h"</em>

<em />

<em>using namespace LAMMPS_NS;</em>

<em>using namespace MathConst;</em>

<em />

<em>#define OFFSET 16384</em>

<em />

<em>#ifdef FFT_SINGLE</em>

<em>#define ZEROF 0.0f</em>

<em>#define ONEF  1.0f</em>

<em>#else</em>

<em>#define ZEROF 0.0</em>

<em>#define ONEF  1.0</em>

<em>#endif</em>

<em />

<em>void PPPMTIP4P::init()</em>

<em>{</em>

<em>  // TIP4P PPPM requires newton on, b/c it computes forces on ghost atoms</em>

<em />

<em>  if (force->newton == 0)</em>

<em>    error->all(FLERR,"Kspace style pppm/tip4p requires newton on");</em>

<em />

<em>  PPPM::init();</em>

<em>}</em>

<em />

<em>void PPPMTIP4P::particle_map()</em>

<em>{</em>

<em>  int nx,ny,nz,iH1,iH2;</em>

<em>  double *xi,xM[3];</em>

<em />

<em>  int *type = atom->type;</em>

<em>  double **x = atom->x;</em>

<em>  int nlocal = atom->nlocal;</em>

<em />

<em>  if (!std::isfinite(boxlo[0]) || !std::isfinite(boxlo[1]) || !std::isfinite(boxlo[2]))</em>

<em>    error->one(FLERR,"Non-numeric box dimensions - simulation unstable");</em>

<em />

<em>  int flag = 0;</em>

<em>  for (int i = 0; i < nlocal; i++) {</em>

<em>    if (type[i] == typeO) {</em>

<em>      find_M(i,iH1,iH2,xM);</em>

<em>      xi = xM;</em>

<em>    } else xi = x[i];</em>

<em />

<em>    nx = static_cast<int> ((xi[0]-boxlo[0])*delxinv+shift) - OFFSET;</em>

<em>    ny = static_cast<int> ((xi[1]-boxlo[1])*delyinv+shift) - OFFSET;</em>

<em>    nz = static_cast<int> ((xi[2]-boxlo[2])*delzinv+shift) - OFFSET;</em>

<em />

<em>    part2grid[i][0] = nx;</em>

<em>    part2grid[i][1] = ny;</em>

<em>    part2grid[i][2] = nz;</em>

<em />

<em>    if (nx+nlower < nxlo_out || nx+nupper > nxhi_out ||</em>

<em>        ny+nlower < nylo_out || ny+nupper > nyhi_out ||</em>

<em>        nz+nlower < nzlo_out || nz+nupper > nzhi_out) flag++;</em>

<em>  }</em>

<em />

<em>  int flag_all;</em>

<em>  MPI_Allreduce(&flag,&flag_all,1,MPI_INT,MPI_SUM,world);</em>

<em>  if (flag_all) error->all(FLERR,"Out of range atoms - cannot compute PPPM");</em>

<em>}</em>

<em>void PPPMTIP4P::make_rho()</em>

<em>{</em>

<em>  int i,l,m,n,nx,ny,nz,mx,my,mz,iH1,iH2;</em>

<em>  FFT_SCALAR dx,dy,dz,x0,y0,z0;</em>

<em>  double *xi,xM[3];</em>

<em />

<em>  FFT_SCALAR *vec = &density_brick[nzlo_out][nylo_out][nxlo_out];</em>

<em>  for (i = 0; i < ngrid; i++) vec[i] = ZEROF;</em>

<em />

<em>  int *type = atom->type;</em>

<em>  double *q = atom->q;</em>

<em>  double **x = atom->x;</em>

<em>  int nlocal = atom->nlocal;</em>

<em />

<em>  for (int i = 0; i < nlocal; i++) {</em>

<em>    if (type[i] == typeO) {</em>

<em>      find_M(i,iH1,iH2,xM);</em>

<em>      xi = xM;</em>

<em>    } else xi = x[i];</em>

<em />

<em>    nx = part2grid[i][0];</em>

<em>    ny = part2grid[i][1];</em>

<em>    nz = part2grid[i][2];</em>

<em>    dx = nx+shiftone - (xi[0]-boxlo[0])*delxinv;</em>

<em>    dy = ny+shiftone - (xi[1]-boxlo[1])*delyinv;</em>

<em>    dz = nz+shiftone - (xi[2]-boxlo[2])*delzinv;</em>

<em />

<em>    compute_rho1d(dx,dy,dz);</em>

<em />

<em>    z0 = delvolinv * q[i];</em>

<em>    for (n = nlower; n <= nupper; n++) {</em>

<em>      mz = n+nz;</em>

<em>      y0 = z0*rho1d[2][n];</em>

<em>      for (m = nlower; m <= nupper; m++) {</em>

<em>        my = m+ny;</em>

<em>        x0 = y0*rho1d[1][m];</em>

<em>        for (l = nlower; l <= nupper; l++) {</em>

<em>          mx = l+nx;</em>

<em>          density_brick[mz][my][mx] += x0*rho1d[0][l];</em>

<em>        }</em>

<em>      }</em>

<em>    }</em>

<em>  }</em>

<em>}</em>

See more about C++ at brainly.com/question/19705654

#SPJ1

6 0
2 years ago
To become a better musician,Sasha plans to play his trumpet in a local community orchestra.With this step,Sasha will enhance his
STatiana [176]

Answer:

Participating

Explanation:

I have had this question before

7 0
3 years ago
Read 2 more answers
Which element requires the least amount of energy to remove an electron from the outermost energy level?.
lukranit [14]

Answer:

Strontium

Explanation:

3 0
3 years ago
Controlling populations of harmful invasive species is a challenge. Using any pest control method could potentially harm the eco
In-s [12.5K]

Answer:

i am unsure

Explanation:

you didn't show the video there is no background information

4 0
3 years ago
Read 2 more answers
Other questions:
  • aram lives five miles from brian's house. Simran lives 8.5 miles from Brian's house. How far is Aram's house from Simran's house
    15·2 answers
  • How is a federal loan different from a private loan for an education?
    10·2 answers
  • They dont have music as a subject but this is for music pls help
    10·2 answers
  • Which is a factor of x2 8x – 48? (x – 6) (x 4) (x – 16) (x 12)
    10·1 answer
  • Read the quotation from "An Indian's View of Indian Affairs. " What I have to say will come from my heart, and I will speak with
    8·2 answers
  • As he left the presidency in 1796, George Washington wrote a farewell address to the American people. Which sentence from the ex
    15·2 answers
  • Based on the diagram, can point d be the centroid of triangle acf? explain. Yes, point d is the point of intersection of segment
    11·2 answers
  • A. How far is the spot on the beach from the parking lot? b. How far will he have to walk from the parking lot to get to the ref
    11·1 answer
  • A student performs an experiment in which two blocks, block x of mass 2kg and block y of mass 3kg, are tied together by a rope.
    6·1 answer
  • If 5p-7q=70, what is the value of p/7-q/5?<br><br> A. 1/35<br> B. 1<br> C. 2<br> D. 35
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!