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. Visualizer Module

plotThreePlusOne

Description

A function that plots the 3+1 components of the metric tensor.

Method

Finds the 3+1 terms and then plots slices of these components based selection of the dimensions to slice along.

Syntax

plotThreePlusOne(metric, slicedPlanes, sliceLocations, alpha)

Input Arguments

blue are required inputs.

orange are optional inputs with native default values.

Inputs
Format
Type
Description

metric

struct

object

Input metric tensor object. Must be a "metric" type.

slicedPlaned

1x2 array

double

Select the two dimensions to slice along, where the dimensions are from 0 to 1. The default value is [1, 4].

sliceLocation

1x2 array

double

Selects the center value of the midPlane. The default value is half of the grid size of the tensor dimensions specified in slicedPlanes.

alpha

1x1 array

double

The alpha scale of the surface grid, ranges from 0 to 1. The default value is 0.2.

Output Arguments

No data outputs. Generates figures with the plotting data.

PreviousVisualizer ModuleNextplotTensor

Last updated 1 year ago