Warp Factory
  • What is Warp Factory?
  • Overview
    • Installing Warp Factory
    • Workflow
    • Codebase Structure
    • Object Types
    • Frames
  • Examples
    • Metrics
      • M1 - First Metric
      • M2 - Default Metrics
      • M3 - Building a Metric
    • Energy Tensor
      • T1 - First Energy Tensor
      • T2 - Cartoon Methods
      • T3 - GPU Computation
      • T4 - Solver Order
      • T5 - Errors
    • Analysis
      • A1 - Energy Conditions
      • A2 - Metric Scalars
      • A3 - Eval Metric
      • A4 - Momentum Flow
    • Warp Shell
      • W1 Warp Shell Comoving
  • Modules
    • Metrics Module
      • Metric Library
        • metricGet_Minkowski
        • metricGet_Alcubierre
        • metricGet_Lentz
        • metricGet_VanDenBroeck
        • metricGet_WarpShellComoving
        • metricGet_ModifiedTime
        • metricGet_Schwarzschild
      • Metric Functions
        • setMinkowski
        • setMinkowskiThreePlusOne
        • threePlusOneBuilder
        • threePlusOneDecomposer
    • Analyzer Module
      • getMomentumFlowLines
      • doFrameTransfer
      • changeTensorIndex
      • getScalars
      • getEnergyConditions
      • evalMetric
    • Solver Module
      • getEnergyTensor
      • verifyTensor
    • Visualizer Module
      • plotThreePlusOne
      • plotTensor
      • Plot Functions
    • Units Module
  • General
    • Contributing
    • FAQ
    • Citing Warp Factory
Powered by GitBook
On this page
  • Description
  • Method
  • Syntax
  • Input Arguments
  • Output Arguments
  1. Modules
  2. Metrics Module
  3. Metric Functions

setMinkowskiThreePlusOne

Description

Builds and returns the 3+1 components for a flat Minkowski space.

Method

Generates the lapse rate, shift vectors, and spatial terms for flat space.

Syntax

[alpha,beta,gamma] = setMinkowskiThreePlusOne(gridSize)

Input Arguments

blue are required inputs.

Inputs
Format
Type
Description

gridSize

1x4 array

integer

Size of the world grid, given by the format of:

Output Arguments

Outputs
Format
Type
Description

alpha

4D array

double

Returns the lapse rate.

beta

1x3 cell of 4D arrays

double

Returns the shift vector components.

gamma

3x3 cell of 4D arrays

double

Returns the spatial components.

PrevioussetMinkowskiNextthreePlusOneBuilder

Last updated 1 year ago

[t,x,y,z][t,x,y,z][t,x,y,z]