This file is indexed.

/usr/include/ASL/aslGenerators.h is in libasl-dev 0.1.7-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/*
 * Advanced Simulation Library <http://asl.org.il>
 * 
 * Copyright 2015 Avtech Scientific <http://avtechscientific.com>
 *
 *
 * This file is part of Advanced Simulation Library (ASL).
 *
 * ASL is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, version 3 of the License.
 *
 * ASL is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with ASL. If not, see <http://www.gnu.org/licenses/>.
 *
 */


#ifndef ASLGENERATORS_H
#define ASLGENERATORS_H

#include <memory>
//#include <acl/aclHardware.h>
#include "acl/aclTypes.h"

namespace cl
{
	class CommandQueue;
}

namespace acl
{
	class VectorOfElementsData;
	class VectorOfElements;
	typedef std::shared_ptr<cl::CommandQueue> CommandQueue;	
}

namespace asl
{
	template <typename V> class DataWithGhostNodes;
	typedef DataWithGhostNodes<acl::VectorOfElementsData> DataWithGhostNodesACLData;
	typedef std::shared_ptr<DataWithGhostNodesACLData> SPDataWithGhostNodesACLData;
	typedef DataWithGhostNodes<acl::VectorOfElements> DataWithGhostNodesACL;
	typedef std::shared_ptr<DataWithGhostNodesACL> SPDataWithGhostNodesACL;
	class AbstractDataWithGhostNodes;
	typedef std::shared_ptr<AbstractDataWithGhostNodes> SPAbstractDataWithGhostNodes;
	template <typename V> class DataWrapper;
	typedef DataWrapper<acl::VectorOfElementsData> DataWrapperACLData;
	typedef std::shared_ptr<DataWrapperACLData> SPDataWrapperACLData;
	typedef DataWrapper<acl::VectorOfElements> DataWrapperACL;
	typedef std::shared_ptr<DataWrapperACL> SPDataWrapperACL;
	class Block;

	
	/// generates pointer to ACL Data field with \p n components	
	/**
		 \ingroup DataFields
	*/
	template <typename T> SPDataWrapperACLData generateDataContainerACL_SP(const Block &b,
	                                                                       unsigned int n = 1);

	/// generates pointer to ACL Data field with \p n components and \p gN ghost nodes
	/**
		 \ingroup DataFields
	*/
	template <typename T> SPDataWithGhostNodesACLData generateDataContainerACL_SP(const Block &b,
	                                                                              unsigned int n,
	                                                                              unsigned int gN);

	/// generates pointer to ACL Data field with \p n components and \p gN ghost nodes
	/**
		 \ingroup DataFields
	*/
	template <typename T> SPDataWithGhostNodesACLData generateDataContainerACL_SP(const Block &b,
	                                                                              unsigned int n,
	                                                                              unsigned int gN,
	                                                                              acl::CommandQueue queue);
	
	/// generates pointer to ACL Data field with \p n components of type \p t and \p gN ghost nodes
	/**
		 \ingroup DataFields
	*/
	SPDataWithGhostNodesACLData generateDataContainerACL_SP(const Block &b, 
	                                                        acl::TypeID t,
	                                                        unsigned int n, 
	                                                        unsigned int gN, 
	                                                        acl::CommandQueue queue);

	/// generates pointer to ACL Data field with \p n components of type \p t and \p gN ghost nodes
	/**
		 \ingroup DataFields
	*/
	SPDataWithGhostNodesACLData generateDataContainerACL_SP(const Block &b, 
	                                                        acl::TypeID t,
	                                                        unsigned int n, 
	                                                        unsigned int gN);
	
	///	 \ingroup DataFields
	SPDataWrapperACL generateDataContainer_SP(const Block &b, const acl::VectorOfElements & a);	
	
	/// generates pointer to ACL Data field with container \p a and \p gN ghost nodes
	/**
		 \ingroup DataFields
	*/
	SPDataWithGhostNodesACL generateDataContainer_SP(const Block &b, 
	                                                 const acl::VectorOfElements & a, 
	                                                 unsigned int gN);

	
	///	 \ingroup DataFields
	template <typename T> SPDataWithGhostNodesACL generateDataContainerConst_SP(const Block &b, T a, unsigned int gN);	

	/// generates data container without ghost nodes and safe outOfboundary element acces \ingroup DataFields
	SPAbstractDataWithGhostNodes generateDCFullSafe(SPAbstractDataWithGhostNodes d);

	/// generates data container without ghost nodes and safe outOfboundary element acces \ingroup DataFields
	SPAbstractDataWithGhostNodes generateDCFullSafe(SPAbstractDataWithGhostNodes d, double outVal);
	
	

	
}  //namespace acl

#endif // ASLGenerator_H