vectors Module

module~~vectors~~UsesGraph module~vectors vectors module~datavectortypes DataVectorTypes module~datavectortypes->module~vectors module~dataglobals DataGlobals module~dataglobals->module~vectors module~dataprecisionglobals DataPrecisionGlobals module~dataprecisionglobals->module~vectors module~dataprecisionglobals->module~datavectortypes module~dataprecisionglobals->module~dataglobals
Help

Used By

module~~vectors~~UsedByGraph module~vectors vectors proc~calcminintwinsolidangs CalcMinIntWinSolidAngs module~vectors->proc~calcminintwinsolidangs proc~setupcomplexwindowstategeometry SetupComplexWindowStateGeometry module~vectors->proc~setupcomplexwindowstategeometry proc~cfsrefpointposfactor CFSRefPointPosFactor module~vectors->proc~cfsrefpointposfactor proc~reverseandrecalculate ReverseAndRecalculate module~vectors->proc~reverseandrecalculate proc~calcstaticproperties CalcStaticProperties module~vectors->proc~calcstaticproperties proc~skygndweight SkyGndWeight module~vectors->proc~skygndweight proc~cfsrefpointsolidangle CFSRefPointSolidAngle module~vectors->proc~cfsrefpointsolidangle proc~makemirrorsurface MakeMirrorSurface module~vectors->proc~makemirrorsurface proc~initializecfsstatedata InitializeCFSStateData module~vectors->proc~initializecfsstatedata proc~worldvectfromw6 WorldVectFromW6 module~vectors->proc~worldvectfromw6 proc~calccomplexwindowoverlap CalcComplexWindowOverlap module~vectors->proc~calccomplexwindowoverlap proc~calcdayltgcoeffsrefpoints CalcDayltgCoeffsRefPoints module~vectors->proc~calcdayltgcoeffsrefpoints proc~initbsdfwindows InitBSDFWindows module~vectors->proc~initbsdfwindows proc~modifywindow ModifyWindow module~vectors->proc~modifywindow proc~calcviewfactortoshelf CalcViewFactorToShelf module~vectors->proc~calcviewfactortoshelf proc~findinbasis FindInBasis module~vectors->proc~findinbasis proc~getintmasssurfacedata GetIntMassSurfaceData module~vectors->proc~getintmasssurfacedata proc~w6coordsfromworldvect W6CoordsFromWorldVect module~vectors->proc~w6coordsfromworldvect proc~makerectangularvertices MakeRectangularVertices module~vectors->proc~makerectangularvertices proc~makerelativerectangularvertices MakeRelativeRectangularVertices module~vectors->proc~makerelativerectangularvertices proc~daylghtaltandazimuth DaylghtAltAndAzimuth module~vectors->proc~daylghtaltandazimuth proc~getsimpleshdsurfacedata GetSimpleShdSurfaceData module~vectors->proc~getsimpleshdsurfacedata proc~addwindow AddWindow module~vectors->proc~addwindow proc~setupadaptiveconvectionstaticmetadata SetupAdaptiveConvectionStaticMetaData module~vectors->proc~setupadaptiveconvectionstaticmetadata proc~calcskysoldiffusereflfactors CalcSkySolDiffuseReflFactors module~vectors->proc~calcskysoldiffusereflfactors proc~initsolreflrecsurf InitSolReflRecSurf module~vectors->proc~initsolreflrecsurf proc~calculatezonevolume CalculateZoneVolume module~vectors->proc~calculatezonevolume proc~calccoordinatetransformation CalcCoordinateTransformation module~vectors->proc~calccoordinatetransformation module~windowcomplexmanager WindowComplexManager module~vectors->module~windowcomplexmanager proc~getsurfacedata GetSurfaceData module~vectors->proc~getsurfacedata proc~chkgss CHKGSS module~vectors->proc~chkgss proc~cfsshadeandbeaminitialization CFSShadeAndBeamInitialization module~vectors->proc~cfsshadeandbeaminitialization proc~figuredayltgcoeffsatpointssetupforwindow FigureDayltgCoeffsAtPointsSetupForWindow module~vectors->proc~figuredayltgcoeffsatpointssetupforwindow proc~calcsurfacecentroid CalcSurfaceCentroid module~vectors->proc~calcsurfacecentroid proc~getvertices GetVertices module~vectors->proc~getvertices proc~calcdayltgcoeffsmappoints CalcDayltgCoeffsMapPoints module~vectors->proc~calcdayltgcoeffsmappoints proc~chkbks CHKBKS module~vectors->proc~chkbks proc~figuredayltgcoeffsatpointsforwindowelements FigureDayltgCoeffsAtPointsForWindowElements module~vectors->proc~figuredayltgcoeffsatpointsforwindowelements proc~allocateforcfsrefpointsstate AllocateForCFSRefPointsState module~vectors->proc~allocateforcfsrefpointsstate proc~calcwindowstaticproperties CalcWindowStaticProperties module~vectors->proc~calcwindowstaticproperties proc~initializecfsdaylighting InitializeCFSDaylighting module~vectors->proc~initializecfsdaylighting proc~initglassopticalcalculations InitGlassOpticalCalculations module~vectors->proc~initglassopticalcalculations proc~calculatewindowbeamproperties CalculateWindowBeamProperties module~vectors->proc~calculatewindowbeamproperties proc~piercesurfacevector PierceSurfaceVector module~vectors->proc~piercesurfacevector proc~skyweight SkyWeight module~vectors->proc~skyweight proc~processsurfacevertices ProcessSurfaceVertices module~vectors->proc~processsurfacevertices proc~allocateforcfsrefpointsgeometry AllocateForCFSRefPointsGeometry module~vectors->proc~allocateforcfsrefpointsgeometry proc~calcdayltgcoeffsrefmappoints CalcDayltgCoeffsRefMapPoints module~vectors->proc~calcdayltgcoeffsrefmappoints module~windowcomplexmanager->proc~cfsrefpointposfactor module~windowcomplexmanager->proc~initializecfsstatedata module~windowcomplexmanager->proc~initializecfsdaylighting proc~timestepinitcomplexfenestration TimestepInitComplexFenestration module~windowcomplexmanager->proc~timestepinitcomplexfenestration proc~calcwindowheatbalance CalcWindowHeatBalance module~windowcomplexmanager->proc~calcwindowheatbalance proc~calcpersolarbeam CalcPerSolarBeam module~windowcomplexmanager->proc~calcpersolarbeam proc~reportglass ReportGlass module~windowcomplexmanager->proc~reportglass module~heatbalancemanager HeatBalanceManager module~windowcomplexmanager->module~heatbalancemanager module~simulationmanager SimulationManager module~heatbalancemanager->module~simulationmanager module~sizingmanager SizingManager module~heatbalancemanager->module~sizingmanager program~energyplus EnergyPlus module~simulationmanager->program~energyplus proc~abortenergyplus AbortEnergyPlus module~simulationmanager->proc~abortenergyplus proc~managesimulation ManageSimulation module~sizingmanager->proc~managesimulation
Help


Variables

TypeVisibility AttributesNameInitial
type(vector), private, parameter:: XUnit =vector(1.0d0, 0.0d0, 0.0d0)
type(vector), private, parameter:: YUnit =vector(0.0d0, 1.0d0, 0.0d0)
type(vector), private, parameter:: ZUnit =vector(0.0d0, 0.0d0, 1.0d0)

Interfaces

public interface ASSIGNMENT (=)

  • public subroutine array_to_vector(vec_result, array)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(out) :: vec_result
    real(kind=r64), intent(in), DIMENSION(3):: array
  • public subroutine vector_to_array(array_result, vec_1)

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(out), DIMENSION(3):: array_result
    type(vector), intent(in) :: vec_1
  • public subroutine value_to_vector(vec_result, value)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(out) :: vec_result
    real(kind=r64), intent(in) :: value

public interface OPERATOR (+)

  • public function vector_add(vec_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    type(vector), intent(in) :: vec_2

    Return Value type(vector)

public interface OPERATOR (-)

  • public function vector_subtract(vec_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    type(vector), intent(in) :: vec_2

    Return Value type(vector)

public interface OPERATOR (*)

  • public function vector_times_real(vec_1, real_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    real(kind=r64), intent(in) :: real_2

    Return Value type(vector)

  • public function real_times_vector(real_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    real(kind=r64), intent(in) :: real_1
    type(vector), intent(in) :: vec_2

    Return Value type(vector)

  • public function vector_times_int(vec_1, int_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    integer, intent(in) :: int_2

    Return Value type(vector)

  • public function int_times_vector(int_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    integer, intent(in) :: int_1
    type(vector), intent(in) :: vec_2

    Return Value type(vector)

  • public function vec_cross_product(vec_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    type(vector), intent(in) :: vec_2

    Return Value type(vector)

public interface OPERATOR (/)

  • public function vector_div_real(vec_1, real_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    real(kind=r64), intent(in) :: real_2

    Return Value type(vector)

  • public function vector_div_int(vec_1, int_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    integer, intent(in) :: int_2

    Return Value type(vector)

public interface OPERATOR (.dot.)

  • public function vec_dot_product(vec_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: vec_1
    type(vector), intent(in) :: vec_2

    Return Value real(kind=r64)

public interface OPERATOR (.twoddot.)

  • public function vec2d_dot_product(vec_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector_2d), intent(in) :: vec_1
    type(vector_2d), intent(in) :: vec_2

    Return Value real(kind=r64)

public interface OPERATOR (.twodcross.)

  • public function vec2d_cross_product(vec_1, vec_2)

    Arguments

    Type IntentOptional AttributesName
    type(vector_2d), intent(in) :: vec_1
    type(vector_2d), intent(in) :: vec_2

    Return Value real(kind=r64)


Functions

public function vector_add(vec_1, vec_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
type(vector), intent(in) :: vec_2

Return Value type(vector)

public function vector_subtract(vec_1, vec_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
type(vector), intent(in) :: vec_2

Return Value type(vector)

public function vector_times_real(vec_1, real_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
real(kind=r64), intent(in) :: real_2

Return Value type(vector)

public function real_times_vector(real_1, vec_2)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(in) :: real_1
type(vector), intent(in) :: vec_2

Return Value type(vector)

public function vector_times_int(vec_1, int_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
integer, intent(in) :: int_2

Return Value type(vector)

public function int_times_vector(int_1, vec_2)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: int_1
type(vector), intent(in) :: vec_2

Return Value type(vector)

public function vector_div_real(vec_1, real_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
real(kind=r64), intent(in) :: real_2

Return Value type(vector)

public function vector_div_int(vec_1, int_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
integer, intent(in) :: int_2

Return Value type(vector)

public function vec_dot_product(vec_1, vec_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
type(vector), intent(in) :: vec_2

Return Value real(kind=r64)

public function vec2d_dot_product(vec_1, vec_2)

Arguments

Type IntentOptional AttributesName
type(vector_2d), intent(in) :: vec_1
type(vector_2d), intent(in) :: vec_2

Return Value real(kind=r64)

public function vec_cross_product(vec_1, vec_2)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
type(vector), intent(in) :: vec_2

Return Value type(vector)

public function vec2d_cross_product(vec_1, vec_2)

Arguments

Type IntentOptional AttributesName
type(vector_2d), intent(in) :: vec_1
type(vector_2d), intent(in) :: vec_2

Return Value real(kind=r64)

public function distance(vec_1, vec_2) result(rdistance)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vec_1
type(vector), intent(in) :: vec_2

Return Value real(kind=r64)

public function AreaPolygon(n, p) result(areap)

Arguments

Type IntentOptional AttributesName
integer :: n
type(vector) :: p(0:n-1)

Return Value real(kind=r64)

public function VecSquaredLength(vec) result(vecsqlen)

Arguments

Type IntentOptional AttributesName
type(vector) :: vec

Return Value real(kind=r64)

public function VecLength(vec) result(veclen)

Arguments

Type IntentOptional AttributesName
type(vector) :: vec

Return Value real(kind=r64)

public function VecNegate(vec)

Arguments

Type IntentOptional AttributesName
type(vector) :: vec

Return Value type(vector)

public function VecNormalize(vec)

Arguments

Type IntentOptional AttributesName
type(vector) :: vec

Return Value type(vector)

public function Pt2Plane(pt, pleq) result(PtDist)

Arguments

Type IntentOptional AttributesName
type(vector) :: pt
type(PlaneEq) :: pleq

Return Value real(kind=r64)


Subroutines

public subroutine array_to_vector(vec_result, array)

Arguments

Type IntentOptional AttributesName
type(vector), intent(out) :: vec_result
real(kind=r64), intent(in), DIMENSION(3):: array

public subroutine vector_to_array(array_result, vec_1)

Arguments

Type IntentOptional AttributesName
real(kind=r64), intent(out), DIMENSION(3):: array_result
type(vector), intent(in) :: vec_1

public subroutine value_to_vector(vec_result, value)

Arguments

Type IntentOptional AttributesName
type(vector), intent(out) :: vec_result
real(kind=r64), intent(in) :: value

public subroutine VecRound(vec, roundto)

Arguments

Type IntentOptional AttributesName
type(vector) :: vec
real(kind=r64) :: roundto

public subroutine DetermineAzimuthAndTilt(Surf, NSides, Azimuth, Tilt, lcsx, lcsy, lcsz, surfaceArea, NewellSurfaceNormalVector)

! lcsx=x3a ! lcsz=VecNormalize(x3av12a) ! lcsy=lcszx3a

Arguments

Type IntentOptional AttributesName
type(vector), dimension(:):: Surf
integer, intent(in) :: NSides
real(kind=r64), intent(out) :: Azimuth
real(kind=r64), intent(out) :: Tilt
type(vector) :: lcsx
type(vector) :: lcsy
type(vector) :: lcsz
real(kind=r64), intent(in) :: surfaceArea
type(vector), intent(in) :: NewellSurfaceNormalVector

public subroutine PlaneEquation(verts, nverts, plane, error)

Arguments

Type IntentOptional AttributesName
type(vector), target:: verts(0:)
integer :: nverts
type(planeeq) :: plane
logical :: error

public subroutine CreateNewellAreaVector(VList, NSides, OutNewellAreaVector)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in), DIMENSION(:):: VList
integer, intent(in) :: NSides
type(vector), intent(inout) :: OutNewellAreaVector

public subroutine CreateNewellSurfaceNormalVector(VList, NSides, OutNewellSurfaceNormalVector)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in), DIMENSION(:):: VList
integer, intent(in) :: NSides
type(vector), intent(inout) :: OutNewellSurfaceNormalVector

public subroutine CompareTwoVectors(vector1, vector2, areSame, tolerance)

Arguments

Type IntentOptional AttributesName
type(vector), intent(in) :: vector1
type(vector), intent(in) :: vector2
logical, intent(inout) :: areSame
real(kind=r64), intent(in) :: tolerance

public subroutine CalcCoPlanarNess(Surf, Nsides, IsCoPlanar, MaxDist, ErrorVertex)

Arguments

Type IntentOptional AttributesName
type(vector), dimension(:):: Surf
integer, intent(in) :: Nsides
logical, intent(out) :: IsCoPlanar
real(kind=r64), intent(out) :: MaxDist
integer, intent(out) :: ErrorVertex

public subroutine CalcPolyhedronVolume(Poly, Volume)

Arguments

Type IntentOptional AttributesName
type(polyhedron) :: Poly
real(kind=r64), intent(out) :: Volume


AirflowNetworkBalanceManager AirflowNetworkSolver BaseboardElectric BaseboardRadiator Boilers BoilerSteam BranchInputManager BranchNodeConnections ChillerAbsorption ChillerElectricEIR ChillerExhaustAbsorption ChillerGasAbsorption ChillerIndirectAbsorption ChillerReformulatedEIR CondenserLoopTowers ConductionTransferFunctionCalc ConvectionCoefficients CoolTower CostEstimateManager CrossVentMgr CTElectricGenerator CurveManager DataAirflowNetwork DataAirLoop DataAirSystems DataBranchAirLoopPlant DataBranchNodeConnections DataBSDFWindow DataComplexFenestration DataContaminantBalance DataConvergParams DataConversions DataCostEstimate DataDaylighting DataDaylightingDevices DataDefineEquip DataDElight DataEnvironment DataErrorTracking DataGenerators DataGlobalConstants DataGlobals DataHeatBalance DataHeatBalFanSys DataHeatBalSurface DataHVACControllers DataHVACGlobals DataInterfaces DataIPShortCuts DataLoopNode DataMoistureBalance DataMoistureBalanceEMPD DataOutputs DataPhotovoltaics DataPlant DataPlantPipingSystems DataPrecisionGlobals DataReportingFlags DataRoomAirModel DataRootFinder DataRuntimeLanguage DataShadowingCombinations DataSizing DataStringGlobals DataSurfaceColors DataSurfaceLists DataSurfaces DataSystemVariables DataTimings DataUCSDSharedData DataVectorTypes DataViewFactorInformation DataWater DataWindowEquivalentLayer DataZoneControls DataZoneEnergyDemands DataZoneEquipment DaylightingDevices DaylightingManager DELIGHTMANAGERF DELIGHTMANAGERF DemandManager DesiccantDehumidifiers DirectAirManager DisplacementVentMgr DualDuct DXCoils DXFEarClipping EarthTube EconomicLifeCycleCost EconomicTariff EcoRoofManager ElectricBaseboardRadiator EMSManager EvaporativeCoolers EvaporativeFluidCoolers ExteriorEnergyUse ExternalInterface FanCoilUnits Fans FaultsManager FluidCoolers FluidProperties FuelCellElectricGenerator Furnaces General GeneratorDynamicsManager GeneratorFuelSupply GlobalNames GroundHeatExchangers HeatBalanceAirManager HeatBalanceHAMTManager HeatBalanceIntRadExchange HeatBalanceManager HeatBalanceMovableInsulation HeatBalanceSurfaceManager HeatBalFiniteDiffManager HeatingCoils HeatPumpWaterToWaterCOOLING HeatPumpWaterToWaterHEATING HeatPumpWaterToWaterSimple HeatRecovery HighTempRadiantSystem Humidifiers HVACControllers HVACCooledBeam HVACDuct HVACDXHeatPumpSystem HVACDXSystem HVACHXAssistedCoolingCoil HVACInterfaceManager HVACManager HVACMultiSpeedHeatPump HVACSingleDuctInduc HVACStandAloneERV HVACUnitaryBypassVAV HVACUnitarySystem HVACVariableRefrigerantFlow HWBaseboardRadiator ICEngineElectricGenerator IceThermalStorage InputProcessor InternalHeatGains ISO_C_FUNCTION_BINDING ISO_C_FUNCTION_BINDING LowTempRadiantSystem ManageElectricPower MatrixDataManager MicroCHPElectricGenerator MicroturbineElectricGenerator MixedAir MixerComponent MoistureBalanceEMPDManager MundtSimMgr NodeInputManager NonZoneEquipmentManager OutAirNodeManager OutdoorAirUnit OutputProcessor OutputReportPredefined OutputReportTabular OutsideEnergySources PackagedTerminalHeatPump PackagedThermalStorageCoil Photovoltaics PhotovoltaicThermalCollectors PipeHeatTransfer Pipes PlantCentralGSHP PlantChillers PlantComponentTemperatureSources PlantCondLoopOperation PlantHeatExchangerFluidToFluid PlantLoadProfile PlantLoopEquip PlantLoopSolver PlantManager PlantPipingSystemsManager PlantPressureSystem PlantUtilities PlantValves PollutionModule PondGroundHeatExchanger PoweredInductionUnits Psychrometrics Pumps PurchasedAirManager RefrigeratedCase ReportSizingManager ReturnAirPathManager RoomAirModelManager RoomAirModelUserTempPattern RootFinder RuntimeLanguageProcessor ScheduleManager SetPointManager SimAirServingZones SimulationManager SingleDuct SizingManager SolarCollectors SolarReflectionManager SolarShading SortAndStringUtilities SplitterComponent SQLiteProcedures SQLiteProcedures StandardRatings SteamBaseboardRadiator SteamCoils SurfaceGeometry SurfaceGroundHeatExchanger SystemAvailabilityManager SystemReports TARCOGArgs TARCOGCommon TARCOGDeflection TARCOGGasses90 TARCOGGassesParams TARCOGMain TARCOGOutput TARCOGParams TarcogShading ThermalChimney ThermalComfort ThermalEN673Calc ThermalISO15099Calc TranspiredCollector UFADManager UnitHeater UnitVentilator UserDefinedComponents VariableSpeedCoils vectors VentilatedSlab WaterCoils WaterManager WaterThermalTanks WatertoAirHeatPump WatertoAirHeatPumpSimple WaterUse WeatherManager WindowAC WindowComplexManager WindowEquivalentLayer WindowManager WindTurbine ZoneAirLoopEquipmentManager ZoneContaminantPredictorCorrector ZoneDehumidifier ZoneEquipmentManager ZonePlenum ZoneTempPredictorCorrector