atomes 1.1.14
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
read_pdb.c File Reference

Functions to read PDB files. More...

#include "global.h"
#include "glview.h"
#include "callbacks.h"
#include "interface.h"
#include "project.h"
#include "bind.h"
#include "readers.h"
#include <omp.h>
#include <ctype.h>
+ Include dependency graph for read_pdb.c:

Go to the source code of this file.

Functions

double get_z_from_pdb_name (char *name)
 get Z from the PDB atom string
 
int pdb_get_atoms_data (int linec)
 get the atomic data from the PDB file
 
int open_pdb_file (int linec)
 open PDB file
 

Detailed Description

Functions to read PDB files.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file read_pdb.c.

Function Documentation

◆ get_z_from_pdb_name()

double get_z_from_pdb_name ( char * name)

get Z from the PDB atom string

Parameters
namethe string from the PDB file

Definition at line 58 of file read_pdb.c.

◆ open_pdb_file()

int open_pdb_file ( int linec)

open PDB file

Parameters
linecNumber of lines in the file

Definition at line 216 of file read_pdb.c.

◆ pdb_get_atoms_data()

int pdb_get_atoms_data ( int linec)

get the atomic data from the PDB file

Parameters
linecTotal number of lines

Definition at line 71 of file read_pdb.c.