1
1
/**
2
2
* PCMSolver, an API for the Polarizable Continuum Model
3
- * Copyright (C) 2016 Roberto Di Remigio, Luca Frediani and collaborators.
3
+ * Copyright (C) 2017 Roberto Di Remigio, Luca Frediani and collaborators.
4
4
*
5
5
* This file is part of PCMSolver.
6
6
*
@@ -94,7 +94,8 @@ typedef void (*HostWriter)(const char * message);
94
94
* respectively. Generators map to integers as in table :ref:`symmetry-ops`
95
95
*/
96
96
PCMSolver_API pcmsolver_context_t * pcmsolver_new (pcmsolver_reader_t input_reading ,
97
- int nr_nuclei , double charges [],
97
+ int nr_nuclei ,
98
+ double charges [],
98
99
double coordinates [],
99
100
int symmetry_info [],
100
101
struct PCMInput * host_input ,
@@ -145,7 +146,8 @@ PCMSolver_API void pcmsolver_get_centers(pcmsolver_context_t * context,
145
146
* \param[in] its index of the finite element
146
147
* \param[out] center array holding the coordinates of the finite element center
147
148
*/
148
- PCMSolver_API void pcmsolver_get_center (pcmsolver_context_t * context , int its ,
149
+ PCMSolver_API void pcmsolver_get_center (pcmsolver_context_t * context ,
150
+ int its ,
149
151
double center []);
150
152
151
153
/*! \brief Getter for the areas/weights of the finite elements
@@ -166,7 +168,8 @@ PCMSolver_API void pcmsolver_get_areas(pcmsolver_context_t * context,
166
168
*/
167
169
PCMSolver_API void pcmsolver_compute_asc (pcmsolver_context_t * context ,
168
170
const char * mep_name ,
169
- const char * asc_name , int irrep );
171
+ const char * asc_name ,
172
+ int irrep );
170
173
171
174
/*! \brief Computes response ASC given a MEP and the desired irreducible
172
175
* representation
@@ -181,7 +184,8 @@ PCMSolver_API void pcmsolver_compute_asc(pcmsolver_context_t * context,
181
184
*/
182
185
PCMSolver_API void pcmsolver_compute_response_asc (pcmsolver_context_t * context ,
183
186
const char * mep_name ,
184
- const char * asc_name , int irrep );
187
+ const char * asc_name ,
188
+ int irrep );
185
189
186
190
/*! \brief Computes the polarization energy
187
191
* \param[in, out] context the PCM context object
@@ -191,7 +195,9 @@ PCMSolver_API void pcmsolver_compute_response_asc(pcmsolver_context_t * context,
191
195
* This function calculates the dot product of the given MEP and ASC vectors.
192
196
*/
193
197
PCMSolver_API double pcmsolver_compute_polarization_energy (
194
- pcmsolver_context_t * context , const char * mep_name , const char * asc_name );
198
+ pcmsolver_context_t * context ,
199
+ const char * mep_name ,
200
+ const char * asc_name );
195
201
196
202
/*! \brief Getter for the ASC dipole
197
203
* \param[in, out] context the PCM context object
@@ -210,7 +216,8 @@ PCMSolver_API double pcmsolver_get_asc_dipole(pcmsolver_context_t * context,
210
216
* \param[in] name label of the surface function
211
217
*/
212
218
PCMSolver_API void pcmsolver_get_surface_function (pcmsolver_context_t * context ,
213
- int size , double values [],
219
+ int size ,
220
+ double values [],
214
221
const char * name );
215
222
216
223
/*! \brief Sets a surface function given data and label
@@ -220,7 +227,8 @@ PCMSolver_API void pcmsolver_get_surface_function(pcmsolver_context_t * context,
220
227
* \param[in] name label of the surface function
221
228
*/
222
229
PCMSolver_API void pcmsolver_set_surface_function (pcmsolver_context_t * context ,
223
- int size , double values [],
230
+ int size ,
231
+ double values [],
224
232
const char * name );
225
233
226
234
/*! \brief Prints surface function contents to host output
0 commit comments