source: trunk/FACT++/sofa/src/cpv.c@ 18375

Last change on this file since 18375 was 18346, checked in by tbretz, 11 years ago
File size: 4.9 KB
Line 
1#include "sofa.h"
2
3void iauCpv(double pv[2][3], double c[2][3])
4/*
5** - - - - - - -
6** i a u C p v
7** - - - - - - -
8**
9** Copy a position/velocity vector.
10**
11** This function is part of the International Astronomical Union's
12** SOFA (Standards Of Fundamental Astronomy) software collection.
13**
14** Status: vector/matrix support function.
15**
16** Given:
17** pv double[2][3] position/velocity vector to be copied
18**
19** Returned:
20** c double[2][3] copy
21**
22** Called:
23** iauCp copy p-vector
24**
25** This revision: 2013 June 18
26**
27** SOFA release 2015-02-09
28**
29** Copyright (C) 2015 IAU SOFA Board. See notes at end.
30*/
31{
32 iauCp(pv[0], c[0]);
33 iauCp(pv[1], c[1]);
34
35 return;
36
37/*----------------------------------------------------------------------
38**
39** Copyright (C) 2015
40** Standards Of Fundamental Astronomy Board
41** of the International Astronomical Union.
42**
43** =====================
44** SOFA Software License
45** =====================
46**
47** NOTICE TO USER:
48**
49** BY USING THIS SOFTWARE YOU ACCEPT THE FOLLOWING SIX TERMS AND
50** CONDITIONS WHICH APPLY TO ITS USE.
51**
52** 1. The Software is owned by the IAU SOFA Board ("SOFA").
53**
54** 2. Permission is granted to anyone to use the SOFA software for any
55** purpose, including commercial applications, free of charge and
56** without payment of royalties, subject to the conditions and
57** restrictions listed below.
58**
59** 3. You (the user) may copy and distribute SOFA source code to others,
60** and use and adapt its code and algorithms in your own software,
61** on a world-wide, royalty-free basis. That portion of your
62** distribution that does not consist of intact and unchanged copies
63** of SOFA source code files is a "derived work" that must comply
64** with the following requirements:
65**
66** a) Your work shall be marked or carry a statement that it
67** (i) uses routines and computations derived by you from
68** software provided by SOFA under license to you; and
69** (ii) does not itself constitute software provided by and/or
70** endorsed by SOFA.
71**
72** b) The source code of your derived work must contain descriptions
73** of how the derived work is based upon, contains and/or differs
74** from the original SOFA software.
75**
76** c) The names of all routines in your derived work shall not
77** include the prefix "iau" or "sofa" or trivial modifications
78** thereof such as changes of case.
79**
80** d) The origin of the SOFA components of your derived work must
81** not be misrepresented; you must not claim that you wrote the
82** original software, nor file a patent application for SOFA
83** software or algorithms embedded in the SOFA software.
84**
85** e) These requirements must be reproduced intact in any source
86** distribution and shall apply to anyone to whom you have
87** granted a further right to modify the source code of your
88** derived work.
89**
90** Note that, as originally distributed, the SOFA software is
91** intended to be a definitive implementation of the IAU standards,
92** and consequently third-party modifications are discouraged. All
93** variations, no matter how minor, must be explicitly marked as
94** such, as explained above.
95**
96** 4. You shall not cause the SOFA software to be brought into
97** disrepute, either by misuse, or use for inappropriate tasks, or
98** by inappropriate modification.
99**
100** 5. The SOFA software is provided "as is" and SOFA makes no warranty
101** as to its use or performance. SOFA does not and cannot warrant
102** the performance or results which the user may obtain by using the
103** SOFA software. SOFA makes no warranties, express or implied, as
104** to non-infringement of third party rights, merchantability, or
105** fitness for any particular purpose. In no event will SOFA be
106** liable to the user for any consequential, incidental, or special
107** damages, including any lost profits or lost savings, even if a
108** SOFA representative has been advised of such damages, or for any
109** claim by any third party.
110**
111** 6. The provision of any version of the SOFA software under the terms
112** and conditions specified herein does not imply that future
113** versions will also be made available under the same terms and
114** conditions.
115*
116** In any published work or commercial product which uses the SOFA
117** software directly, acknowledgement (see www.iausofa.org) is
118** appreciated.
119**
120** Correspondence concerning SOFA software should be addressed as
121** follows:
122**
123** By email: sofa@ukho.gov.uk
124** By post: IAU SOFA Center
125** HM Nautical Almanac Office
126** UK Hydrographic Office
127** Admiralty Way, Taunton
128** Somerset, TA1 2DN
129** United Kingdom
130**
131**--------------------------------------------------------------------*/
132}
Note: See TracBrowser for help on using the repository browser.